From 9461f490c83c35eecbea6a165bcf9effa85d9703 Mon Sep 17 00:00:00 2001 From: Vaida Plankyte Date: Wed, 5 Jul 2017 11:36:24 +0200 Subject: [PATCH] event_queue.py: Use the singular 'they' pronoun. --- zerver/tornado/event_queue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zerver/tornado/event_queue.py b/zerver/tornado/event_queue.py index baa934abaa..8ee83c63bc 100644 --- a/zerver/tornado/event_queue.py +++ b/zerver/tornado/event_queue.py @@ -714,8 +714,8 @@ def process_message_event(event_template, users): if sender_queue_id is not None and client.event_queue.id == sender_queue_id: send_to_clients[client.event_queue.id]['is_sender'] = True - # If the recipient was offline and the message was a single or group PM to him - # or she was @-notified potentially notify more immediately + # If the recipient was offline and the message was a single or group PM to them + # or they were @-notified potentially notify more immediately received_pm = message_type == "private" and user_profile_id != sender_id mentioned = 'mentioned' in flags idle = receiver_is_idle(user_profile_id, realm_presences)