mirror of https://github.com/zulip/zulip.git
Exclude bots in the user presence query.
(imported from commit 02668ba5db85e12ac0aefc0fa2480d38ffed4921)
This commit is contained in:
parent
6cd33870e9
commit
1e912c7e22
|
@ -715,7 +715,8 @@ class UserPresence(models.Model):
|
|||
|
||||
query = UserPresence.objects.filter(
|
||||
user_profile__realm_id=realm_id,
|
||||
user_profile__is_active=True
|
||||
user_profile__is_active=True,
|
||||
user_profile__is_bot=False
|
||||
).values(
|
||||
'client__name',
|
||||
'status',
|
||||
|
|
Loading…
Reference in New Issue