I have implement the functionality like Sender sent the message to the Receiver that message are keep into the one table namely "receiver_message" (Gets message from sender).If receiver want to reply to the incoming message from sender it is save into the "reply_message" table. If Sender reply to incoming reply message from receiver it is save into the "reply_message" table. If any message is open for reading whole message in next screen then on that screen one delete message option is present. Currently I had delete that message from directly. It will not showing any end. But As per requirement if sender delete that message then it will show at receiver side and vice versa. Let me provide any small idea to resolve this tricky situation of functionality.
sender table Id
| sender_id
| Receiver id
| message
|
1 | 15 | 100 | demo message |
Reply message table Id
| reply_message_id
| from
| To
| Message
|
1 | 1 | 100 | 15 | Reply to your demo message
If I delete sender table message from Receiver side still it will showing at Sender side.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire