Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix visual/push notifications for deleted messages. #26584

Open
1 task
drrosa opened this issue Aug 26, 2023 · 5 comments
Open
1 task

Fix visual/push notifications for deleted messages. #26584

drrosa opened this issue Aug 26, 2023 · 5 comments
Labels
area: message-editing area: mobile Mobile push notifications; features motivated by mobile; issues requiring changes in mobile code. area: notifications (messages)

Comments

@drrosa
Copy link
Collaborator

drrosa commented Aug 26, 2023

As discussed in CZO thread and #26166 (comment), we should fix the following visual/push notification quirks for deleted messages:

  • Deleting a message completely does not revoke mobile push notifications.

We should also update /help/delete-a-message.md#message-notifications once we've fixed the above.

The message editing part of this issue has been split out into #30316.

@drrosa
Copy link
Collaborator Author

drrosa commented Aug 26, 2023

FYI @prakhar1144.

@drrosa drrosa changed the title Fix visual notifications for edited and deleted messages. Fix visual/push notifications for edited/deleted messages. Aug 26, 2023
@zulipbot
Copy link
Member

Hello @zulip/server-message-view members, this issue was labeled with the "area: message-editing" label, so you may want to check it out!

@timabbott
Copy link
Sponsor Member

Tagging as an 8.0 priority in that this seems like significant incorrect behavior, and I think it might not be super hard to fix, in that we do various similar things correctly.

@prakhar1144
Copy link
Member

I have started working on "Deleting a message completely does not revoke mobile push notifications."

prakhar1144 added a commit to prakhar1144/zulip that referenced this issue Sep 22, 2023
Mobile push notifications for messages on deletion are revoked.

Fixes part of zulip#26584.
@gnprice
Copy link
Member

gnprice commented Sep 27, 2023

From the mobile client perspective: revoking notifications will work great on Android, only requiring the server to send an appropriate FCM blob in the same way it does when the message is read.

That functionality isn't currently available in our iOS app; it's tracked as zulip/zulip-mobile#3119 . But I believe that's basically orthogonal to this issue — the implementation of this issue should send those revocations the same way as we send other revocations, which is for Android only, and then in the future when we have an iOS client handling revocations and start sending them there, we'll do so uniformly for all causes of revocations, including the ones added as part of this issue.

Editing the content of the message in a notification is another matter. Properly supporting that will mean adding a new type of push-notification blob to the protocol between the server and the client. It would be good to do, but should be tracked as its own issue, because unlike the revocation cases it will be more work and will happen later. (Probably after 8.0 and after the Flutter migration of the mobile app.)

@gnprice gnprice added the area: mobile Mobile push notifications; features motivated by mobile; issues requiring changes in mobile code. label Sep 27, 2023
@alya alya changed the title Fix visual/push notifications for edited/deleted messages. Fix visual/push notifications for deleted messages. Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: message-editing area: mobile Mobile push notifications; features motivated by mobile; issues requiring changes in mobile code. area: notifications (messages)
Projects
Status: No status
Development

No branches or pull requests

6 participants