GoogleCodeArchive / msnp-sharp

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

Ability to detect contacts who are appearing offline or demonstrating it #197

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Login with 2 accounts, one being appearing offline and one being online
3. Get the offline account to reply a message to the online user.
4. Send a message to the online user. Then get the offline user to reply.

What is the expected output? What do you see instead?
I expect the message to be an ordinary message but instead keeps sending a 
offline message instead. In MSN, I was able to make quick conversations when 
talking to a appearing offline contact, but MSNPSharp example client only allow 
offline contacts.

Also, I am unable to detect appearing offline contacts, so does the client need 
changing or/and MSNPSharp assembly (I know an exception is made while creating 
a conversation because the contact is offline)?

Please use labels and text to provide additional information.
I used the comparison of MSN and MSNPSharp example client for this.

Original issue reported on code.google.com by electk...@gmail.com on 17 Jun 2010 at 1:08

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Just set it to me, I will think about it.

Original comment by freezing...@gmail.com on 25 Jun 2010 at 5:17

GoogleCodeExporter commented 9 years ago
I have a idea, but since I have not fully read the code it may not be all 
correct:
+ Create a new enum for PresenceStatus called 'AppearOffline'
+ This enum will be set for a contact if the contact creates a conversation 
while offline (unless there is a command that tells the contact is offline).
+ Allow the conversation to be created (not allowing the exception that the 
contact is offline and therefore can't make normal messages be sent).
+ If the conversation ends, set it to offline.

Original comment by electk...@gmail.com on 28 Jun 2010 at 4:49

GoogleCodeExporter commented 9 years ago
Hidden is such an enum. I am considering whether I should add this feature to 
MSNPSharp.

Original comment by freezing...@gmail.com on 28 Jun 2010 at 10:39

GoogleCodeExporter commented 9 years ago
For detecting appear offline user, it's not possible. The commands from MSN 
server telling a client another contect is offline and appear offline is the 
same.

Original comment by freezing...@gmail.com on 21 Jul 2010 at 9:20

GoogleCodeExporter commented 9 years ago
Dude, yes but when I try MSN Live to MSN Live (with one user offline and the 
other online), the conversation can be created without sending OIM messages 
(with offline contact sending message to online contact), thus typing messages 
can be done from offline contact to online contact (but not offline contact to 
offline contact). After that the online user can send regular messages to 
offline contact.

This can't be done in the example client where it will give exception because 
user is offline.

Original comment by electk...@gmail.com on 21 Jul 2010 at 11:03

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
No, the official client also send it as OIM. Please try this, login as an 
appear offline user for account A. Then login as an online user for account B. 
Send a message from B to A. You will see that the message was sent by using UUX 
command, which means it's an offline message.

Original comment by freezing...@gmail.com on 21 Jul 2010 at 2:35

GoogleCodeExporter commented 9 years ago
I have tried this. I will try it again but this time with WireShark to detect 
the messages (with both accounts).

Secondly, I mean't account A to B (or offline user to online user). I know 
sending message to account B to A will only send offline messages. Try that 
please.

Original comment by electk...@gmail.com on 21 Jul 2010 at 11:10

GoogleCodeExporter commented 9 years ago
To clarify it this a bit further:

Make A be on MSN Live and is appearing offline
Make B be on MSNPSharp example client and is online

Get A to send message to B. It would be a normal message since it knows B is 
online, but since the MSNPSharp doesn't allow nudges or normal messages to be 
sent (only OIM) because the user is offline, only OIM messages can be sent.

rom MSN Live to MSN Live, users can communicate normally even though one is 
appearing offline. I'll show you later.

Original comment by electk...@gmail.com on 22 Jul 2010 at 3:31

GoogleCodeExporter commented 9 years ago
Ok, I see, sorry for the misunderstanding.

Original comment by freezing...@gmail.com on 24 Jul 2010 at 7:03

GoogleCodeExporter commented 9 years ago
Think I made a mistake writing my previous sentences. I should have mentioned 
it properly, not mislead it. Think you get the point :P

Original comment by electk...@gmail.com on 24 Jul 2010 at 1:27

GoogleCodeExporter commented 9 years ago
Hi,
This feature is no more support in WLM 2011, please check.
BTW, I think WLM 2009 can do this is simply a bug :)

Original comment by freezing...@gmail.com on 17 Oct 2010 at 10:17

GoogleCodeExporter commented 9 years ago

Original comment by freezing...@gmail.com on 25 Oct 2010 at 10:59