push notifications: Fix a comment typo.

This commit is contained in:
Tim Abbott
2018-11-27 09:17:07 -08:00
parent 3bb0956046
commit beb80219a8

View File

@@ -637,7 +637,7 @@ def handle_push_notification(user_profile_id: int, missed_message: Dict[str, Any
user_profile = get_user_profile_by_id(user_profile_id)
(message, user_message) = access_message(user_profile, missed_message['message_id'])
if user_message is not None:
# If ther user has read the message already, don't push-notify.
# If the user has read the message already, don't push-notify.
#
# TODO: It feels like this is already handled when things are
# put in the queue; maybe we should centralize this logic with