Commit f908463a authored by JC Brand's avatar JC Brand

Clear connection feedback after login

parent bd913734
...@@ -496,6 +496,7 @@ ...@@ -496,6 +496,7 @@
*/ */
_converse.log(`Status changed to: ${PRETTY_CONNECTION_STATUS[status]}`); _converse.log(`Status changed to: ${PRETTY_CONNECTION_STATUS[status]}`);
if (status === Strophe.Status.CONNECTED || status === Strophe.Status.ATTACHED) { if (status === Strophe.Status.CONNECTED || status === Strophe.Status.ATTACHED) {
_converse.giveFeedback();
// By default we always want to send out an initial presence stanza. // By default we always want to send out an initial presence stanza.
_converse.send_initial_presence = true; _converse.send_initial_presence = true;
_converse.setDisconnectionCause(); _converse.setDisconnectionCause();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment