Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
message send: Rename
push_notify_user_ids
-> online_push_user_ids
.
The old name `push_notify_user_ids` was misleading, because it does not contain user ids which should be notified for the current message, but rather user ids who have the online push notifications setting enabled. When the Tornado server is restarted during an upgrade, if server has old events with the `push_notify_user_ids` fields, the server will throw error after this rename. Hence, we need to explicitly handle such cases while processing the event.
- Loading branch information
1 parent
f3eea72
commit ddd123f
Showing
5 changed files
with
21 additions
and
13 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
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