From 1b53a77f1bf4c2cbfa29a50b0dda05f10d137a26 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Tue, 3 Dec 2013 13:48:17 -0500 Subject: [PATCH] Expect an ios client instead of iphone (imported from commit d5d3cd129d7005fd9294096d3899df86155cd366) --- zerver/lib/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py index a90074b95b..54fb28b321 100644 --- a/zerver/lib/actions.py +++ b/zerver/lib/actions.py @@ -299,7 +299,7 @@ def do_send_messages(messages): for um in ums_to_create: sent_by_human = (message['message'].sending_client.name.lower() in \ - ['website', 'iphone', 'android']) or \ + ['website', 'ios', 'android']) or \ ('desktop app' in message['message'].sending_client.name.lower()) if um.user_profile.id == message['message'].sender.id and sent_by_human: um.flags |= UserMessage.flags.read