supercoeus / msnp-sharp

Automatically exported from code.google.com/p/msnp-sharp
0 stars 1 forks source link

Nameserver.ContactOnline gets called with any status #246

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Log into MSNPSharp client with one remote contact online.
2. Get the remote contact to change status
3. It will raise the NameServer.ContactOnline event, regardless if the user is 
appearing offline or not.

What is the expected output? What do you see instead?
Shouldn't this event be called when a user goes from offline to online? This 
event gets called even when the user goes from Online to Busy, and so forth.

Please use labels and text to provide additional information.
MSNPSharp 4.0 DEV.
Windows XP SP2.

Original issue reported on code.google.com by electk...@gmail.com on 20 Jan 2011 at 12:59

GoogleCodeExporter commented 8 years ago
This is a feature, "online" here is a general meaning, away is online, busy is 
online, even hidden is online. If you want to get notified by status, use 
ContactStatusChanged instead.

Original comment by freezing...@gmail.com on 20 Jan 2011 at 9:31

GoogleCodeExporter commented 8 years ago
Supposedly the XML information for that event may need changing then?

"Occurs when the contact goes from offline status to another status"

Original comment by electk...@gmail.com on 21 Jan 2011 at 12:52

GoogleCodeExporter commented 8 years ago
What will you propose for it?

Original comment by freezing...@gmail.com on 21 Jan 2011 at 1:16

GoogleCodeExporter commented 8 years ago
"Occurs when contact changes status and is online, or becomes online."?

Original comment by electk...@gmail.com on 21 Jan 2011 at 2:26

GoogleCodeExporter commented 8 years ago
Avoid using online, because it's confusing enough here. I think the original 
one is good enough. Or you can say, Occurs when user changed to any status 
except go offline.

Original comment by freezing...@gmail.com on 21 Jan 2011 at 5:46