rpaschoal / ng-chat

💬 A simple facebook/linkedin lookalike chat module for Angular applications.
MIT License
155 stars 92 forks source link

onMessageReceived #198

Closed elrondfeng closed 2 years ago

elrondfeng commented 2 years ago

I am using Angular, after the message is sent, I can see from log that the receiver's client side have the new message, however, the receiver's ui is not showing the new message.

I haven't call onMessageReceived cause I don't know where to call it in Angular? should I call it from the adapter? if so, the adapter in angular is just a service, in which method should I call the onMessageReceived ?

elrondfeng commented 2 years ago

I figured it out. thanks!

FractalMind commented 2 years ago

I figured it out. thanks!

Please, always share for people behind