Replace other non-zerver uses of iPhone client

(imported from commit 0988e2c9bd0499a0711daed97f89aa672776f085)
This commit is contained in:
Leo Franchi
2013-12-03 14:31:47 -05:00
parent 6808b5b5fe
commit 1e7a22f14e
3 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ from django.db.models import Count
from zerver.models import UserProfile, Realm, Stream, Message, Recipient, UserActivity, \
Subscription, UserMessage
MOBILE_CLIENT_LIST = ["Android", "iPhone"]
MOBILE_CLIENT_LIST = ["Android", "ios"]
HUMAN_CLIENT_LIST = MOBILE_CLIENT_LIST + ["website"]
human_messages = Message.objects.filter(sending_client__name__in=HUMAN_CLIENT_LIST)