mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
Expect an ios client instead of iphone
(imported from commit d5d3cd129d7005fd9294096d3899df86155cd366)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user