-
-
Notifications
You must be signed in to change notification settings - Fork 639
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
android notif: Accept a batch of message IDs for
remove
.
This is the client logic to correspond with the server code in zulip/zulip#11561 . Existing servers only send the unbatched `zulip_message_id` field, and perhaps servers in the future will send only the batched version (e.g. after determining the client is new enough to understand it.) For now, new servers will send a batch, plus the first ID redundantly as `zulip_message_id`. The semantics are clear for any combination -- just clear out any message appearing in either field -- so go ahead and handle any combination.
- Loading branch information
Showing
2 changed files
with
23 additions
and
17 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