Summary: | Messages from iChat are silently ignored | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Will Thompson <will> |
Component: | salut | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED MOVED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | major | ||
Priority: | medium | Keywords: | patch |
Version: | 0.8 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Will Thompson
2012-06-28 10:03:04 UTC
(In reply to comment #0) > I guess that, really, we know that any stanzas coming in are from the > contact we think they are, so perhaps the MetaPorter should always use > from_anyone() and then forcibly replace from=''? Sure enough, a patch to make register_porter_handler() always use wocky_porter_register_handler_from_anyone_by_stanza() does fix the problem. But I don't understand why tests/twisted/avahi/ichat-incoming-msg.py doesn't expose this bug. Investigating further… Haha, the first stanza sent by a contact, before the channel was open, worked fine. But once the channel is open, it uses register_handler_from() and hence the stanza got ignored. ♥ The fix is in Wocky: http://cgit.collabora.com/git/user/wjt/wocky/log/?h=51527-metaporter-sender-matching The test case is in Salut: http://cgit.collabora.com/git/user/wjt/telepathy-salut/log/?h=51527-iChat-messages-ignored The fix for this is merged to wocky <http://cgit.collabora.com/git/user/wjt/wocky/commit/?id=6812be7c> and released in telepathy-salut 0.8.1. http://cgit.collabora.com/git/user/wjt/wocky/log/?h=metaporter-cleanup is some remaining cleanup of the MetaPorter. http://cgit.collabora.com/git/user/wjt/telepathy-salut/log/?h=51527-iChat-messages-ignored-test is the test for this bug. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-salut/issues/39. |
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.