mirror of https://github.com/zulip/zulip.git
Expect an ios client instead of iphone
(imported from commit d5d3cd129d7005fd9294096d3899df86155cd366)
This commit is contained in:
parent
5d79796465
commit
1b53a77f1b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue