pubsub.guild: default to always getting presence

This commit is contained in:
Luna 2019-07-20 12:55:39 -03:00
parent 4d7e6ec93c
commit 99e29ad39f
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class GuildDispatcher(DispatcherWithState):
# note that this does not equate to any unsubscription
# of the channel.
flags = self.flags[guild_id][user_id]
if event.startswith('PRESENCE_') and not flags.get('presence'):
if event.startswith('PRESENCE_') and not flags.get('presence', True):
continue
# filter the ones that matter