Explorar o código

Clear connection feedback after login

JC Brand %!s(int64=7) %!d(string=hai) anos
pai
achega
f908463ab9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/converse-core.js

+ 1 - 0
src/converse-core.js

@@ -496,6 +496,7 @@
              */
             _converse.log(`Status changed to: ${PRETTY_CONNECTION_STATUS[status]}`);
             if (status === Strophe.Status.CONNECTED || status === Strophe.Status.ATTACHED) {
+                _converse.giveFeedback();
                 // By default we always want to send out an initial presence stanza.
                 _converse.send_initial_presence = true;
                 _converse.setDisconnectionCause();