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

List:       kde-commits
Subject:    branches/KDE/3.5/kdenetwork/kopete/protocols/groupwise
From:       Will Stephenson <lists () stevello ! free-online ! co ! uk>
Date:       2005-11-09 13:07:42
Message-ID: 1131541662.507834.10180.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 479143 by wstephens:

Fix bug where we couldn't respond to chat invitations, due to partially completed \
chatroom code.  Commit reviewed by the Novell GroupWise KDE Integration Review Board.


 M  +1 -1      gwaccount.cpp  
 M  +2 -1      libgroupwise/gwclientstream.cpp  
 M  +3 -1      libgroupwise/gwerror.h  


--- branches/KDE/3.5/kdenetwork/kopete/protocols/groupwise/gwaccount.cpp \
#479142:479143 @@ -288,7 +288,7 @@
 	// not implemented: error
 	QObject::connect( m_clientStream, SIGNAL( error(int) ), SLOT( slotCSError(int) ) );
 
-	m_client = new Client( this, CMSGPRES_SUPPORTS_CHAT );
+	m_client = new Client( this, CMSGPRES_GW_6_5 );
 
 	// NB these are prefixed with QObject:: to avoid any chance of a clash with our \
connect() methods.  // we connected successfully
--- branches/KDE/3.5/kdenetwork/kopete/protocols/groupwise/libgroupwise/gwclientstream.cpp \
#479142:479143 @@ -47,7 +47,7 @@
 
 #include "gwclientstream.h"
 
-#define LIBGW_DEBUG 1
+//#define LIBGW_DEBUG 1
 
 void cs_dump( const QByteArray &bytes );
 
@@ -376,6 +376,7 @@
 	
 void cs_dump( const QByteArray &bytes )
 {
+//#define GW_CLIENTSTREAM_DEBUG 1
 #ifdef GW_CLIENTSTREAM_DEBUG
 	CoreProtocol::debug( QString( "contains: %1 bytes " ).arg( bytes.count() ) );
 	uint count = 0;
--- branches/KDE/3.5/kdenetwork/kopete/protocols/groupwise/libgroupwise/gwerror.h \
#479142:479143 @@ -31,7 +31,7 @@
 #define BLANK_GUID "[00000000-00000000-00000000-0000-0000]"
 #define CONF_GUID_END 27
 
-#define LIBGW_DEBUG 1
+//#define LIBGW_DEBUG 1
 #define LIBGW_USE_KDEBUG 1
 
 namespace GroupWise
@@ -233,6 +233,8 @@
 #define MSGPRES_ERR_RECIPIENT_TOO_OLD			(NMERR_SERVER_BASE + 0x005C) // The \
recipient's client version is too old.  #define \
MSGPRES_ERR_CHAT_NO_LONGER_VALID		(NMERR_SERVER_BASE + 0x005D) // The chat has been \
removed from the server.  
+/* protocol version capabilities */
+#define CMSGPRES_GW_6_5 2
 #define CMSGPRES_SUPPORTS_NO_DETAILS_ON_LOGIN 3
 #define CMSGPRES_SUPPORTS_BROADCAST 4
 #define CMSGPRES_SUPPORTS_CHAT 5


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

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