Code

remove error message from groupChatCreate(). Gtalk should be ok with groups now.
authorishmal <ishmal@users.sourceforge.net>
Fri, 24 Nov 2006 00:17:15 +0000 (00:17 +0000)
committerishmal <ishmal@users.sourceforge.net>
Fri, 24 Nov 2006 00:17:15 +0000 (00:17 +0000)
src/pedro/pedroxmpp.cpp

index 2e6f74c6a0e8c49e573ea42685b20fa208b7de5c..53bac92d5be8450a6426c05d2dac60730fbf0094 100644 (file)
@@ -1120,7 +1120,7 @@ bool XmppClient::processPresence(Element *root)
         //printf("fromGid:%s  fromNick:%s\n",
         //        fromGid.c_str(), fromNick.c_str());
         DOMString item_jid = root->getTagAttribute("item", "jid");
-        if (item_jid == jid) //Me
+        if (item_jid == jid || item_jid == to) //Me
             {
             if (presence)
                 {
@@ -2639,7 +2639,7 @@ bool XmppClient::groupChatCreate(const DOMString &groupJid)
         {
         if ((*iter)->getGroupJid() == groupJid)
             {
-            error("Group chat '%s' already exists", groupJid.c_str());
+            //error("Group chat '%s' already exists", groupJid.c_str());
             return false;
             }
         }