Show
Ignore:
Timestamp:
06/11/08 05:31:29 (6 months ago)
Author:
eugene
Message:

Updated to use new daemon setting of default user encoding.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/core/licqgui.cpp

    r6200 r6249  
    13891389  switch (sig->SubSignal()) 
    13901390  { 
    1391     case LIST_ADD: 
    1392     { 
    1393       ICQUser* u = gUserManager.FetchUser(sig->Id(), sig->PPID(), LOCK_W); 
    1394       if (u == NULL) 
    1395       { 
    1396         gLog.Warn("%sLicqGui::listUpdated(): Invalid user received: %s\n", 
    1397           L_ERRORxSTR, sig->Id()); 
    1398         break; 
    1399       } 
    1400  
    1401       // as we intercept the user's addition, we set it our default codec 
    1402       QByteArray defaultEncoding = Config::Chat::instance()->defaultEncoding(); 
    1403       if (!defaultEncoding.isEmpty()) 
    1404         u->SetUserEncoding(defaultEncoding); 
    1405  
    1406       gUserManager.DropUser(u); 
    1407       break; 
    1408     } 
    1409  
    14101391    case LIST_REMOVE: 
    14111392    {