Can't alter own presence in room (own participant and room item actions don't show in room).
Every outgoing own room presence is responded to with a 409 "canceled" error stanza by the XMPP server.
That is the nick denied error only expected to happen when entering a room.
Always reproducible by stopping service worker with WebEx down (so no config) switch to tab wait till in a room
(using last config) then starting WebEx and wait till config updated.
[x] Fix race in XmppConnectionManager when stopping and reconnecting to XMPP on config change where offline event of
old connection can happen after online event of new connection leaving the manager in perceived offline state and
enqueuing stanzas instead of sending them
[x] Add more logging to XmppConnectionManager
[x] Fix XMPP connection not actually dying after calling stop on XMPP client object
(discovered by old handler still getting stanzas, likely also cause of denied nickname)
Result: Stop method doesn't actually stop establishing the first connection.
It only stops an existing connection and prevents future connection attempts.
XmppConnectionManager now stops the client-internal reconnect manager before calling the official stop method.
It then waits until the client has full offline status before creating a new one.
And it stops old clients again when they somehow still come online again.
[x] Debug config change happening without any server-side change
(it does connect with last known config from memory just fine though)
Result: Server generates different credentials every time.
So the config is legitimately different every time.
[x] Fix outdated queue being sent on reconnect after being offline for a while in XmppConnectionManager
(no one expects chat and old presences to actually be sent an hour later)
[x] Fixed handling of 409 when already confirmed to be in room with an accepted nick by
starting the room enter procedure from scratch as if not being room in RoomPresenceManager
Can't alter own presence in room (own participant and room item actions don't show in room).
Every outgoing own room presence is responded to with a 409 "canceled" error stanza by the XMPP server. That is the nick denied error only expected to happen when entering a room. Always reproducible by stopping service worker with WebEx down (so no config) switch to tab wait till in a room (using last config) then starting WebEx and wait till config updated.