[Bug 41743] Receiving an offline message from a contact before the roster arrives makes them show up as 'unknown', not 'offline'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 19 20:07:05 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=41743

--- Comment #8 from Will Thompson <will.thompson at collabora.co.uk> 2011-10-19 11:07:05 PDT ---
Created attachment 52535
  --> https://bugs.freedesktop.org/attachment.cgi?id=52535
[PATCH 1/2] Test grabbing <nick/> from <message/>

If a contact is not on your roster, you typically have no idea what
their nickname is: no roster, no PEP, no vCard (assuming the server
doesn't let random people fetch your vCard). In this situation, contacts
who message you out of the blue can include <nick/> in the message
itself.

This is implemented in a kind of dodgy way in Gabble at the moment: the
IM channel forcibly retains an entry for the contact in the presence
cache, and then the presence cache stashes the nickname as if it came
from presence… It was also previously untested, so I thought it worth
adding a test before I even thought about fixing how it's implemented.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list