Documentation says, that we get this parameters (3):
EVENT_CHANNEL_MEMBERS_UPDATE = 'members_update'
"""When users join/leave a channel
:param channel: channel instance
:type channel: :class:`ChatChannel`
:param joined: list of members who joined
:type joined: list
:param left: list of members who left
:type left: list
"""
But in real, only joined and left passed.
A little fix, to pass channel too
Documentation says, that we get this parameters (3):
EVENT_CHANNEL_MEMBERS_UPDATE = 'members_update' """When users join/leave a channel
But in real, only
joined
andleft
passed. A little fix, to pass channel too