mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
Stop using `access_user_group_by_id` in notifications codepaths, as it is meant to be used to check for _write_ access, not read access (which is not limited). In the notification codepaths, there are no ACLs to apply, and the ID is known-good; just load it directly. The `for_mention` flag is removed, as it was not used in the mention codepaths at all, only the notification ones.
4.6 KiB
4.6 KiB