[Bug 21839] New: Mishandles <presence type='error'> in response to <presence type='subscribe'>
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed May 20 20:31:26 CEST 2009
http://bugs.freedesktop.org/show_bug.cgi?id=21839
Summary: Mishandles <presence type='error'> in response to
<presence type='subscribe'>
Product: Telepathy
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: telepathy-gabble
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: will.thompson at collabora.co.uk
Suppose you try to add someone with an unspellable JID to your roster. Gabble
sends:
<presence type='subscribe' to='foo at bar.cmo'>
<status>thank you empathy for sending messages i didn't type</status>
</presence>
and gets back:
<presence type='error' ...>
<status>thank you emp...</status>
<error type='cancel' code='404'>
<remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</presence>
This makes the contact show up in SimplePresence with presence "error" and
message "thank you empathy for sending messages i didn't type", which is not
right at all!
Gabble should probably ignore <status/> in <presence type='error'>; maybe it
should also delete them from your roster with MembersChangedDetailed's 'error'
set to NotFound or something?
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list