Answer the question
In order to leave comments, you need to log in
Read message status for group chat - read message?
Hello!
I develop chats (group and one-on-one) on Laravel [Pusher], the table structure is as follows:
Table message:
[
id, room_id , sender_id, recipient=nullable, message, created_at, updated_at
]
Table rooms:
[
id, sender_id, model_type, model_id, created_at, updated_at
]
The links themselves are built on Polymorphic Relations
The essence of the question is how to add the ability to give the application the status of a read message in a group chat for each member in the group for each new message (display the read flag), if in the chat from 2 and more members?
Thanks in advance for any help on this matter
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question