stephenlb / angularjs-chat

AngularJS Chat - Enable chat messaging experiences in your iOS, Android and Web apps.
https://stephenlb.github.io/angularjs-chat/
MIT License
73 stars 64 forks source link

Sending attachments #6

Open toddler4372 opened 7 years ago

toddler4372 commented 7 years ago

This app looks really great. Are there plans on adding functionality to send and receive files/images/attachments?

stephenlb commented 7 years ago

hi @toddler4372 !

stephenlb commented 7 years ago

That would be really. Really cool. We are planning this. Here is the link https://github.com/pubnub/open-chat-framework

But this project is Work-in-Progress.

Aramayis12 commented 7 years ago

image

Hello. I get this error when I try send message. From what it can be?

stephenlb commented 7 years ago

looks like setup.to isn't registered as a room?

Aramayis12 commented 7 years ago

This normally works separately in the locale, but when chat to integrate with project, it does not send a message to the user, it only receives them from user.

Simple demo

Object {to: "62d6ac91-61c2-401c-bbc0-36a10550e10f", data: "Hi thanks fine, and you ?", user: Object} $$hashKey:"object:8" data:"Hi thanks fine, and you ?" to:"62d6ac91-61c2-401c-bbc0-36a10550e10f" user:Object id:"support-agent" name:"Support Agent" __proto__:Object __proto__:Object

It's works.

image

And this, I try answer message from my site and were get some error every time.

image

And if I not registered a room. How I can do this?