Open FShieldheart-zz opened 5 years ago
Hi @FShieldheart ,
At the moment we don't have a feature on ng-chat to mark messages as read. Are you using the distribution NPM package and loading that to your project or have you cloned/forked ng-chat and doing modifications to it? If it is the latter, my suggestion would be that you could implement that and get a pull request here. I am sure a lot of people would appreciate such feature.
@rpaschoal Is it still the case? What is the dateSeen
for?
Hi @rpaschoal,
I need help with another issue. I have a "SignalR" method which has been signaled whenever a "read" occurs on unread messages. Then, the user who is the owner of the message receives this signal by listening to the correspondent method (assuming he/she is online). This is working perfectly up to this point. Now, after the message owner received the signal that his/her message has been read by the receiver, I need to manipulate the message status and I am planning to put a read mark (like the one in WhatsApp) near the message. On the hand, since messages are loading using observable, I do not know how to access the necessary message to make its status as "read".
Can you tell me how I am going to accomplish this?
Thanks in advance.
FS