Expect an ios client instead of iphone

(imported from commit d5d3cd129d7005fd9294096d3899df86155cd366)
This commit is contained in:
Leo Franchi 2013-12-03 13:48:17 -05:00
parent 5d79796465
commit 1b53a77f1b
1 changed files with 1 additions and 1 deletions

View File

@ -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