summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2f6208d)
raw | patch | inline | side by side (parent: 2f6208d)
author | ishmal <ishmal@users.sourceforge.net> | |
Fri, 24 Nov 2006 00:17:15 +0000 (00:17 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Fri, 24 Nov 2006 00:17:15 +0000 (00:17 +0000) |
src/pedro/pedroxmpp.cpp | patch | blob | history |
index 2e6f74c6a0e8c49e573ea42685b20fa208b7de5c..53bac92d5be8450a6426c05d2dac60730fbf0094 100644 (file)
--- a/src/pedro/pedroxmpp.cpp
+++ b/src/pedro/pedroxmpp.cpp
//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)
{
{
if ((*iter)->getGroupJid() == groupJid)
{
- error("Group chat '%s' already exists", groupJid.c_str());
+ //error("Group chat '%s' already exists", groupJid.c_str());
return false;
}
}