summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jabbergroupcontact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/jabber/jabbergroupcontact.cpp')
-rw-r--r--kopete/protocols/jabber/jabbergroupcontact.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kopete/protocols/jabber/jabbergroupcontact.cpp b/kopete/protocols/jabber/jabbergroupcontact.cpp
index 7ddf4041..717d36be 100644
--- a/kopete/protocols/jabber/jabbergroupcontact.cpp
+++ b/kopete/protocols/jabber/jabbergroupcontact.cpp
@@ -345,8 +345,8 @@ void JabberGroupContact::slotStatusChanged( )
}
//TODO: away message
- XMPP::tqStatus newtqStatus = account()->protocol()->kosTotqStatus( account()->myself()->onlinetqStatus() );
- account()->client()->setGroupChattqStatus( rosterItem().jid().host() , rosterItem().jid().user() , newtqStatus );
+ XMPP::Status newStatus = account()->protocol()->kosToStatus( account()->myself()->onlineStatus() );
+ account()->client()->setGroupChatStatus( rosterItem().jid().host() , rosterItem().jid().user() , newStatus );
}
void JabberGroupContact::slotChangeNick( )
@@ -361,7 +361,7 @@ void JabberGroupContact::slotChangeNick( )
mNick=futureNewNickName;
- XMPP::tqStatus status = account()->protocol()->kosTotqStatus( account()->myself()->onlinetqStatus() );
+ XMPP::Status status = account()->protocol()->kosToStatus( account()->myself()->onlineStatus() );
account()->client()->changeGroupChatNick( rosterItem().jid().host() , rosterItem().jid().user() , mNick , status);
}