sleduc / weechat-xmpp

A fork of the jabber plugin for weechat
21 stars 14 forks source link

Can only join a MUC once #3

Open CiaranG opened 9 years ago

CiaranG commented 9 years ago
  1. /jroom test@conference.example.com nick
  2. /close
  3. /jroom test@conference.example.com nick

Fails at the 3rd step.

CiaranG commented 9 years ago

This is because it doesn't actually exit the room when you do /close, which I believe it should. (It also obviously doesn't continue to use the existing open connection when you do /jroom again, but that's not really relevant).

sleduc commented 9 years ago

Yes, I will have to check, there seems to be a mechanism in the jabber plugin to hook to the "close buffer" (after a /close is done in weechat). Then a leave Presence will have to be sent to the server to actually leave the room. It should be ok to re-join after that.