-
-
Notifications
You must be signed in to change notification settings - Fork 655
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
android notif: Parse zulip_message_id at crunchy shell.
This is a typical example of the "crunchy shell" pattern at work. Previously, if for some reason we received an FCM message with no `zulip_message_id`, or one that didn't parse as a decimal integer, the app would simply crash. Now we'll instead ignore that FCM message, and log a warning to the system log for possible use in debugging.
- Loading branch information
Showing
1 changed file
with
12 additions
and
3 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