Opened 15 years ago
Closed 15 years ago
#911 closed defect (bug) (fixed)
Deleted/Replied to message fix
Reported by: | johnjamesjacoby | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | 1.1 | Priority: | critical |
Severity: | Version: | ||
Component: | Keywords: | has-patch | |
Cc: |
Description
Patch to fix situation where a user deletes a message, and someone in the tread replies to it. Previously the message/thread was never unmarked as deleted. This patch fixes it quite easily.
Situation
Burt = user_id 3
John = user_id 2
Andy = user_id 1
Before
- I message Andy and Burt.
- I delete message in my sent box. (user_id = 2; is_deleted = 1)
- Burt reads the message, and deletes (user_id = 3; is_deleted = 1)
- Andy messages us back.
- Message never shows up in my inbox. is_deleted still = 1
- Message never shows up in Burt's inbox. is_deleted still = 1
After
- I message Andy.
- I delete message in my sent box. (user_id = 2; is_deleted = 1)
- Burt reads the message, and deletes (user_id = 3; is_deleted = 1)
- Andy messages us back. (user_id = 3,2; is_deleted = 0)
- Burt and I both receive notifications of new messages and all is well.
Patch attached.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
BP_Messages_Message::send fix