[Bug 27913] Backlog messages for users not in a MUC are dropped or received as private messages

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 30 19:27:25 CEST 2010


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

Will Thompson <will.thompson at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|Telepathy                   |Wocky
            Version|0.9                         |unspecified
          Component|gabble                      |General

--- Comment #2 from Will Thompson <will.thompson at collabora.co.uk> 2010-04-30 10:27:24 PDT ---
This is a WockyMuc bug. In wocky-muc.c, handle_message():


      who = g_hash_table_lookup (priv->members, from);
      if (who == NULL)
        {
          /* not another member, is it from 'ourselves'? */
          gchar *from_jid = wocky_normalise_jid (from);

          /* is it from us? fake up a member struct */
          if (g_str_equal (from_jid, priv->jid))
            {
              from_self = TRUE;
              g_free (from_jid);
            }
          else
            {
              DEBUG ("Message received from unknown MUC member %s.", from_jid);
              g_free (from_jid);
              return FALSE;
            }
        }

The else block is wrong.

-- 
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