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

List:       licq-cvs
Subject:    [Licq-cvs] qt-gui/src
From:       Jon Keating <emostar () users ! sourceforge ! net>
Date:       2004-12-17 4:52:29
Message-ID: E1CfA6P-0001lu-68 () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/licq/qt-gui/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6635/plugins/qt-gui/src

Modified Files:
	usereventdlg.cpp userinfodlg.cpp 
Log Message:
Fix bug #1079101 on SF.
Also, fix problem with duplicate messages.


Index: usereventdlg.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/usereventdlg.cpp,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -d -r1.166 -r1.167
--- usereventdlg.cpp	30 Nov 2004 23:04:45 -0000	1.166
+++ usereventdlg.cpp	17 Dec 2004 04:52:17 -0000	1.167
@@ -1502,7 +1502,7 @@
       {
         FOR_EACH_PROTO_USER_START(m_nPPID, LOCK_R)
         {
-          if (pUser->NewMessages())// && strcmp(m_lUsers.front().c_str(), pUser->IdString()) != 0)
+          if (pUser->NewMessages() && strcmp(m_lUsers.front().c_str(), pUser->IdString()) != 0)
           {
             for (unsigned short i = 0; i < pUser->NewMessages(); i++)
             {            

Index: userinfodlg.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/userinfodlg.cpp,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- userinfodlg.cpp	25 Nov 2004 15:46:04 -0000	1.84
+++ userinfodlg.cpp	17 Dec 2004 04:52:18 -0000	1.85
@@ -2235,7 +2235,7 @@
   }
   switch(currentTab)
   {
-    //TODO change in the daemon
+    //TODO change in the daemon to support other protocols
     case GeneralInfo:
     {
       // Before retrieving the meta data we have to 
@@ -2251,20 +2251,20 @@
       u->SaveGeneralInfo();
       gUserManager.DropUser(u);
       
-      icqEventTag = server->icqRequestMetaInfo(m_szId);
+      icqEventTag = server->ProtoRequestInfo(m_szId, m_nPPID);
       break;
     }
     case MoreInfo:
-      icqEventTag = server->icqRequestMetaInfo(m_szId);
+      icqEventTag = server->ProtoRequestInfo(m_szId, m_nPPID);
       break;
     case More2Info:
-      icqEventTag = server->icqRequestMetaInfo(m_szId);
+      icqEventTag = server->ProtoRequestInfo(m_szId, m_nPPID);
       break;
     case WorkInfo:
-      icqEventTag = server->icqRequestMetaInfo(m_szId);
+      icqEventTag = server->ProtoRequestInfo(m_szId, m_nPPID);
       break;
     case AboutInfo:
-      icqEventTag = server->icqRequestMetaInfo(m_szId);
+      icqEventTag = server->ProtoRequestInfo(m_szId, m_nPPID);
       break;
     case PhoneInfo:
     {



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Licq-cvs mailing list
Licq-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/licq-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

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