convert generatesNotif to return a enum, either NOTIF or RESCIND, or undefined if the message type should not send a push notif.
Linear Task: ENG-2644
Differential D6239
[lib/keyserver] convert generatesNotif to return a enum ginsu on Jan 11 2023, 12:11 PM. Authored by Tags None Referenced Files
Details convert generatesNotif to return a enum, either NOTIF or RESCIND, or undefined if the message type should not send a push notif. Linear Task: ENG-2644 flow also tested chat creation, message creation, message liking/unliking, and adding members to a chat
Diff Detail
Event TimelineComment Actions I think it would be good to update message-creator.js in this diff, so doesGenerateNotif ? messageInfo : undefined checks if it's pushTypes.NOTIF specifically. As of this revision, returning RESCIND would result in a new push notif being sent, which seems unexpected Comment Actions Please address comment before landing
|