GNOME Bugzilla – Bug 127464
Disconnecting leaves groupchats dangling.
Last modified: 2005-05-05 13:08:42 UTC
When disconnecting, none of the chats get an indication of this. This is especially irritating for groupchats, since you don't get joined again when reconnecting the client. It would be nice to have a visual indication in the open chat windows that the client is disconnected. Maybe a gray message like the message time stamps. Also, rejoining open group chats should be done. Otherwise you get 'Forbidden' error messages, without any other explaination.
Regular chats now get a disconnected event message, I haven't implemented this for groupchat yet though.
Changing summary to reflect the bug.
Created attachment 46032 [details] [review] Fixes this bug. This now has the same action as connecting/disconnecting in a normal chat window, but for group chats. Plus, there was a "disconnected" signal being emitted twice because it was done when we disconnect manually AND when we get called back from Loudmouth that the connection has closed. I have fixed that. The "connected" event wasn't being caught for standard chat sessions because only "protocol-connected" was being emitted. Fixed that too.
Tweaked the code in gossip-session.c some and commited. Thanks.