[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kopete/dev-0.12/kopete/protocols/oscar/liboscar
From:       Matt Rogers <mattr () kde ! org>
Date:       2005-09-30 21:52:26
Message-ID: 1128117146.755399.27496.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 465814 by mattr:

correctly parse room info

 M  +5 -2      chatservicetask.cpp  


--- branches/work/kopete/dev-0.12/kopete/protocols/oscar/liboscar/chatservicetask.cpp #465813:465814
@@ -81,12 +81,15 @@
 	{
 	case 0x0002:
 		kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "Parse room info" << endl;
+        parseRoomInfo();
 		break;
 	case 0x0003:
         kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "user joined notification" << endl;
+        parseJoinNotification();
         break;
     case 0x0004:
         kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "user left notification" << endl;
+        parseLeftNotification();
         break;
     case 0x0006:
         kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "message from room to client" << endl;
@@ -108,8 +111,8 @@
     Buffer* b = transfer()->buffer();
 
     exchange = b->getWord();
-    QString name( b->getBUIN() );
-    instance = b->getByte();
+    QByteArray cookie( b->getBlock( b->getByte() ) );
+    instance = b->getWord();
 
     detailLevel = b->getByte();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic