# HG changeset patch # User Marcus Lundblad # Date 1241985908 0 # Node ID 1ef01afd08bc3905690af94d658223e882ee99ea # Parent 04af21d4be27218dd0fbfff6bcc058c1a9d45625 Don't query for "last offline time" when the JID is a full JID (containing a "/"), in this case it's a MUC JID, and are handled separetly. Prevents printing two status lines for unknown MUC JIDs diff -r 04af21d4be27 -r 1ef01afd08bc libpurple/protocols/jabber/buddy.c --- a/libpurple/protocols/jabber/buddy.c Fri May 08 03:54:58 2009 +0000 +++ b/libpurple/protocols/jabber/buddy.c Sun May 10 20:05:08 2009 +0000 @@ -1741,7 +1741,7 @@ g_free(full_jid); } - if (!jb->resources) { + if (!jb->resources && strchr(jid, '/') == NULL) { /* user is offline, send a jabber:iq:last to find out last time online */ iq = jabber_iq_new_query(js, JABBER_IQ_GET, "jabber:iq:last"); xmlnode_set_attrib(iq->node, "to", jid);