Given that the pidgin logs say that it disconnected correctly, are you sure this is a pidgin bug and not the XMPP server? Does the server immediately mark you as offline if you exit pidgin manually?
- Bug#765892: pidgin: Pidgin does not disconnect on suspe... Peter Spiess-Knafl
- Bug#765892: pidgin: Pidgin does not disconnect on ... Ari Pollak
- Bug#765892: pidgin: Pidgin does not disconnect on ... Peter Spiess-Knafl