alexxiopiccinno / jabber-net

Automatically exported from code.google.com/p/jabber-net
Other
0 stars 0 forks source link

ConferenceManager don't care about disconnecting #56

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
> What steps will reproduce the problem?
1. Join to room using ConferenceManager (Room thatroom)
2. Tell server to disconnect us, or disconnect internet connection
3. Wait till jabber-net send OnDisconnect event.
4. reconnect, Room sends new presence to room 
   (cause of emiting OnAfterPresenceOut during sending initial-presence)
   (thatroom.IsParticipating is still true)
5. room/MUC replies with bad-request, cause we're not in room anymore.

> What is the expected output? What do you see instead?
ConferenceManager/Room should IMO connect to OnDisconnect and when it'll 
be fired, we should change room from Room.STATE.running to Room.STATE.start
(?) disconnect from connected events, etc...
In Room.m_stream_OnAfterPresenceOut we could also check if state is 
Room.STATE.running and if (!IsParticipating) return;

> What version of the product are you using? On what operating system?
jabber-net 2.1.0.710 @ Windows XP

> Please provide any additional information below.
You could also check my bugreport on jabber-net group: http://
groups.google.com/group/jabber-net/browse_thread/thread/1f21eaae02038b56

Original issue reported on code.google.com by darkjames@gmail.com on 22 Dec 2008 at 7:44