mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
This commit extracts the logic of checking the message edit permissions, like whether the sender is same as user, whether it is a (no topic) message or whether community topic editing is allowed, into a separate function. This is a prep commit for fixing a bug where permission to move messages between streams is affected by permission of editing topics.
273 KiB
273 KiB