-
-
Notifications
You must be signed in to change notification settings - Fork 656
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: Stop assuming fetched messages' reactions have deprecated
user
…
… field Our code at the edge for transforming the old format of reactions, with `user`, into the new format, with `user_id`, was depending on `user` always being present. Since `user_id` is documented as being added in Zulip 3.0: https://zulip.com/api/get-messages#response , and since #5747 we've been refusing to connect to servers pre-3.0, we can assume `user_id` is always present and stop reading `user`. Fixes: #4072
- Loading branch information
1 parent
d151d9a
commit df1dd79
Showing
3 changed files
with
16 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters