diff --git a/xmpp/xmpp.tsx b/xmpp/xmpp.tsx index 355baf50..765be2f3 100644 --- a/xmpp/xmpp.tsx +++ b/xmpp/xmpp.tsx @@ -1054,6 +1054,8 @@ const logout = async () => { return; } + await registerPushToken(null); + _xmpp.current.client.reconnect.stop(); await _xmpp.current.client.stop().catch(console.warn);