singpolyma / cheogram

Moved to https://git.singpolyma.net/cheogram
https://cheogram.com
GNU Affero General Public License v3.0
27 stars 5 forks source link

/join sometimes results in no confirmation nor messages from MUC, but JID still joins room #29

Closed ossguy closed 8 years ago

ossguy commented 8 years ago

In some situations (such as after my JID is kicked from a room, or occasionally when Cheogram itself is restarted) and when /who is giving me "You are joined to as along with", when I then do "/join " I get no response from Cheogram (such as the usual "you have joined" message) and I get no messages from the MUC delivered to me. However, my JID does join the MUC - it's just that I can't see anything happening there.

If I then do "/join " again, I do get the Cheogram greeting and the MUC messages start to be delivered. The JID that has already joined the MUC remains unchanged (it stays joined to the room).

My usual JID is currently stuck in the state after the first /join in case you wanted to take a look.

This might be related to #2 or possibly to #25.

singpolyma commented 8 years ago

Ok, so, on line 209 I am pattern matching assuming there is only one status code, but there can in fact be more than one. This is almost certainly the bug