Bug 26804

Summary: Contacts signed in on the web are shown as offline
Product: papyon Reporter: Jonny Lamb <jonny.lamb>
Component: generalAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: olivier
Version: git masterKeywords: patch
Hardware: Other   
OS: All   
URL: http://git.collabora.co.uk/?p=user/jonny/papyon.git;a=shortlog;h=refs/heads/web-messenger
Whiteboard: review+
i915 platform: i915 features:

Description Jonny Lamb 2010-02-28 12:20:37 UTC
If one of your contacts signs into MSN on the hotmail site using their fancy web messenger feature, the contact shows up as offline.

Hopefully some logs or something will follow, some time soonish.
Comment 1 Jonny Lamb 2010-03-10 15:22:18 UTC
Turns out papyon couldn't deal with the web messenger's presence change:

DEBUG:papyon.transport:<<< ILN 0 NLN jonnylambtest1@hotmail.co.uk 1 Jonny 1342177824 1
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/papyon/msnp/base.py", line 107, in _dispatch_command
    handler(command)
  File "/usr/lib/pymodules/python2.5/papyon/msnp/notification.py", line 414, in _handle_ILN
    self._handle_NLN(command)
  File "/usr/lib/pymodules/python2.5/papyon/msnp/notification.py", line 453, in _handle_NLN
    urllib.unquote(command.arguments[idx]))
  File "/usr/lib/pymodules/python2.5/papyon/p2p.py", line 150, in parse
    raise ParseError('Invalid MSNObject')
papyon.msnp2p.exceptions.ParseError: Invalid MSNObject

I've written a patch to fix this. It works for me here and I'm able to see my contact's presence and start talking to him.
Comment 2 Olivier Le Thanh Duong 2010-03-12 06:57:58 UTC
Reviewed
Comment 3 Jonny Lamb 2010-03-12 07:00:53 UTC
Merged, thanks!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.