Bug 39157 - Empathy Disregards IM from XMPP Server
Summary: Empathy Disregards IM from XMPP Server
Status: NEW
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on: 70489
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-11 23:22 UTC by ljtirazona
Modified: 2013-10-15 10:15 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ljtirazona 2011-07-11 23:22:04 UTC
I'm using Openfire as the XMPP Server. I have a MotD plugin for it, and Empathy rejects the message from the server. Pidgin and Spark do not reject the message.
I've found out that it is because gabble identifies the jid of the server as invalid.



The following is the sanitized debug log: (Words in {} are sanitized.)

gabble/jid-DEBUG: Tuesday, 12 July, 2011 11:30:27.126004: gabble_normalize_contact (util.c:557): JID {SERVER NAME} is invalid or has no node part
gabble/im-DEBUG: Tuesday, 12 July, 2011 11:30:27.126151: im_factory_message_cb: ignoring message node from malformed jid:
* message xmlns='jabber:client' to='{USER}@{SERVER NAME}/c3b8c6af' from='{SERVER NAME}'
    * subject
        "Message of the Day"
    * body
        "Some experimental feature tests will be implemented in the next few days, please prepare for some service restarts or interruption.

-- Chat Admin"
Comment 1 Will Thompson 2011-10-03 07:28:32 UTC
This is closely related to part of bug 26696. The debug message is misleading—Gabble doesn't support contacts with JIDs which don't have a node part, partly to reduce the risk of trying to add 'helen.love' (rather than 'helen.love@server.com') to their roster and not understanding why it doesn't work. And we don't have a good alternative API to expose messages from the server at present.


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.