Fix unable to unset status_msg from other clients
This commit is contained in:
parent
dc24ee5d9d
commit
9b9cbcb23c
|
@ -758,7 +758,8 @@ class NioCallbacks:
|
|||
not presence.status_msg and
|
||||
account.status_msg and
|
||||
ev.user_id in self.client.backend.clients and
|
||||
account.presence != Presence.State.echo_invisible
|
||||
account.presence != Presence.State.echo_invisible and
|
||||
presence.presence == Presence.State.offline
|
||||
):
|
||||
asyncio.ensure_future(
|
||||
self.client.backend.clients[ev.user_id].set_presence(
|
||||
|
|
Loading…
Reference in New Issue
Block a user