Page MenuHomePhabricator

[lib] Handle deleted messages when generating notifs
ClosedPublic

Authored by tomek on Thu, Apr 10, 6:04 AM.
Tags
None
Referenced Files
F6064752: D14564.id.diff
Sun, Apr 20, 11:20 AM
Unknown Object (File)
Sat, Apr 19, 7:34 PM
Unknown Object (File)
Sat, Apr 19, 3:36 PM
Unknown Object (File)
Fri, Apr 18, 4:06 AM
Unknown Object (File)
Fri, Apr 18, 4:06 AM
Unknown Object (File)
Fri, Apr 18, 4:06 AM
Unknown Object (File)
Thu, Apr 17, 10:55 AM
Unknown Object (File)
Wed, Apr 16, 5:52 AM
Subscribers
None

Details

Summary

When a user deletes a message, we should rescind all the notifs about the original message. There are two issues:

  1. Multimedia messages are collapsed when they come from the same author - this diff disables this behavior
  2. We issue a special collapse key when a message creates a sidebar - this diff keeps this behavior, but as a result sidebar source notifications can't be rescinded

https://linear.app/comm/issue/ENG-10510/rescind-notifications-regarding-deleted-messages

Depends on D14561

Test Plan

Haven't tested it yet

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable