Hi!

While analyzing the differences between the login procedures of licq and sim
(which doesn't have this problem) I found that latter one sends a SNAC 13,7
message. Including this in licq fixed the problem for me.

I still don't know why this behavior changes from user to user, it doesn't
even have to do with the number of contacts (it didn't work for me (90
contacts) but worked for a friend (100 contacts).

Here's a small quick'n'dirty fix, please review it thoroughly before
applying. I'm not very familiar to the licq sources.


*** licq-20040813/include/licq_packets.h        2004-08-04 02:11:47.000000000 +0200
--- licq-20040814mh/include/licq_packets.h      2004-08-14 16:34:35.000000000 +0200
***************
*** 332,341 ****
--- 332,348 ----
  protected:
    time_t         m_nSavedTime;
    unsigned short m_nRecords;
  };
  
+ //-----StartNotify--------------------------------------------------------------
+ class CPU_StartNotify : public CPU_CommonFamily
+ {
+ public:
+   CPU_StartNotify();
+ };
+ 
  //-----ExportContactStart-------------------------------------------------------
  class CPU_ExportContactStart : public CPU_CommonFamily
  {
  public:
    CPU_ExportContactStart();
diff -c -5 -r licq-20040813/src/icqd-srv.cpp
/usr/src/redhat/BUILD/licq-20040813/src/icqd-srv.cpp
*** licq-20040813/src/icqd-srv.cpp      2004-08-11 03:50:37.000000000 +0200
--- licq-20040814mh/src/icqd-srv.cpp    2004-08-14 16:27:55.000000000 +0200
***************
*** 3656,3665 ****
--- 3656,3668 ----
        break;
      } // case rost reply
  
      case ICQ_SNACxLIST_ROSTxSYNCED:
      {
+       CSrvPacketTcp *p = new CPU_StartNotify();
+       SendEvent_Server(p);
+ 
        // The server says we are up to date, let's double check
        CheckExport();
        break;
      }
  
diff -c -5 -r licq-20040813/src/icqpacket.cpp
/usr/src/redhat/BUILD/licq-20040813/src/icqpacket.cpp
*** licq-20040813/src/icqpacket.cpp     2004-08-04 02:11:48.000000000 +0200
--- licq-20040814mh/src/icqpacket.cpp   2004-08-14 16:35:58.000000000 +0200
***************
*** 2438,2447 ****
--- 2438,2454 ----
    buffer->PackUnsignedLongBE(o->GetSSTime());
    buffer->PackUnsignedShortBE(o->GetSSCount());
    gUserManager.DropOwner();
  }
  
+ //-----StartNotify--------------------------------------------------------------
+ CPU_StartNotify::CPU_StartNotify()
+   : CPU_CommonFamily(ICQ_SNACxFAM_LIST, ICQ_SNACxLIST_ROSTxACK)
+ {
+   InitBuffer();
+ }
+ 
  //-----ExportContactStart-------------------------------------------------------
  CPU_ExportContactStart::CPU_ExportContactStart()
    : CPU_CommonFamily(ICQ_SNACxFAM_LIST, ICQ_SNACxLIST_ROSTxEDITxSTART)
  {
    m_nSize += 4;

-- 
 cand.inf. Martin Herzog, student of computer science
 EMail: [EMAIL PROTECTED] ICQ: 11279027
 See http://rz-home.de/~mherzog/ for details, PGP Fingerprint, ...


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to