Summary: | GTalk email-to-chat follow up makes email subject appear as message | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Danielle Madeley <danielle> |
Component: | gabble | Assignee: | Will Thompson <will> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | chandniverma2112 |
Version: | git master | ||
Hardware: | Other | ||
OS: | All | ||
URL: | https://gitorious.org/glassrose-gnome/telepathy-gabble/commits/filter-out-google-rbc-announcement-messages-36647 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Danielle Madeley
2011-04-27 19:25:24 UTC
A have a patch for it in the linked branch where I have simply removed these messages which contain no special information. { + if (lm_message_node_get_child_with_namespace ( Wrong indentation. + wocky_stanza_get_top_node(message), Missing space. + { + /* Message information is redundant. We can safely filter such + * messages out. + * Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=36647 */ Wrong indentation. Also I'm not sure this comment is useful. + } if (type == NULL && Missing empty line between end of block and start of next. http://telepathy.freedesktop.org/wiki/Style (In reply to comment #2) > { > + if (lm_message_node_get_child_with_namespace ( > > Wrong indentation. > > + wocky_stanza_get_top_node(message), > > Missing space. > > + { > + /* Message information is redundant. We can safely filter such > + * messages out. > + * Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=36647 */ > > Wrong indentation. Done. > > Also I'm not sure this comment is useful. Ok, removed the comment, just left the bug url so that its easy for those who are not acquainted with a stanza of this name. > > + } > if (type == NULL && > > Missing empty line between end of block and start of next. > > http://telepathy.freedesktop.org/wiki/Style Done. + if (lm_message_node_get_child_with_namespace ( + wocky_stanza_get_top_node (message), + "google-rbc-announcement", "google:metadata") != NULL) + { + /* Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=36647 */ ^ bracket at wrong level ^ should be here Oh, yes. Done. [[attention deficit syndrome]] Looks good. I'm cherry-picking it onto the 0.12 stable branch of Gabble, and just running the tests before merging to master and pushing. thanks :) Merged, albeit messily (my fault), to 0.12 and master. |
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.