[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kopete/protocols/jabber
From: Till Gerken <till () tantalo ! net>
Date: 2002-12-11 23:44:48
[Download RAW message or body]
CVS commit by gerken:
Signal online status for services correctly
M +3 -11 jabbercontact.cpp 1.86
--- kdenonbeta/kopete/protocols/jabber/jabbercontact.cpp #1.85:1.86
@@ -576,11 +576,8 @@ JabberResource *JabberContact::bestResou
void JabberContact::slotResourceAvailable(const Jabber::Jid &jid, const \
Jabber::Resource &resource) {
- QString theirJID = QString("%1@%2").arg(jid.user(), 1).arg(jid.host(), 2);
- // safety check: don't process resources of other users
- if (theirJID != userId())
- return;
-
- kdDebug() << "[JabberContact] Adding new resource '" << resource.name() << \
"' for " << userId() << endl; + kdDebug() << "[JabberContact] Adding new \
resource '" << resource.name() << "' for " + << userId() << \
", name [" << resource.name() << "], priority " + << \
resource.priority() << ", status [" << resource.status().status() << endl;
/*
@@ -637,9 +634,4 @@ void JabberContact::slotResourceUnavaila
{
JabberResource *tmpResource;
- QString theirJID = QString("%1@%2").arg(jid.user(), 1).arg(jid.host(), 2);
-
- // safety check: don't process resources of other users
- if (theirJID != userId())
- return;
kdDebug() << "[JabberContact] Removing resource '" << jid.resource() << "' \
for " << userId() << endl;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic