mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
Fixes #14498. When a topic is moved to a different stream, the message may no longer be reachable to guest user, if the user is not subscribed to the new stream. We used to send message update event to the client in these cases, which seems to be confusing both to the client updating the message and the server sending push_notifications for it. Now, we delete the UserMessage entry for these messages for the user and send a delete message event to the client; which makes both push_notification and the event handling client think that the message was deleted and hence no confusion in the code is raised.
249 KiB
249 KiB