Changeset 6438 for trunk/licq
- Timestamp:
- 07/09/08 09:45:38 (5 months ago)
- Location:
- trunk/licq
- Files:
-
- 3 modified
-
include/licq_user.h (modified) (1 diff)
-
src/icqd-srv.cpp (modified) (3 diffs)
-
src/user.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/licq/include/licq_user.h
r6430 r6438 896 896 void AddTLV(TLVPtr); 897 897 void RemoveTLV(unsigned long); 898 void SetTLVList(TLVList& tlvs); 898 899 TLVList GetTLVList(); 899 900 -
trunk/licq/src/icqd-srv.cpp
r6435 r6438 4201 4201 4202 4202 CUserProperties* data = iter->second; 4203 4204 TLVList list = packet.getTLVList(); 4205 for (TLVListIter it = list.begin(); it != list.end(); it++) 4206 data->tlvs[it->first] = it->second; 4203 4207 4204 4208 #define COPYTLV(type, var) \ … … 6374 6378 continue; 6375 6379 6380 // For now, just save all the TLVs. We should change this to have awaiting auth check 6381 // for the 0x0066 TLV, SMS number if it has the 0x013A TLV, etc 6382 u->SetTLVList(data->tlvs); 6383 6376 6384 if (data->newAlias != NULL) 6377 6385 u->SetAlias(data->newAlias.get()); … … 6403 6411 delete[] tmp; 6404 6412 } 6405 }6406 6407 // For now, just save all the TLVs. We should change this to have awaiting auth check6408 // for the 0x0066 TLV, SMS number if it has the 0x013A TLV, etc6409 TLVListIter tlvIter;6410 for (tlvIter = data->tlvs.begin(); tlvIter != data->tlvs.end(); tlvIter++)6411 {6412 TLVPtr tlv = tlvIter->second;6413 u->AddTLV(tlv);6414 6413 } 6415 6414 -
trunk/licq/src/user.cpp
r6418 r6438 3875 3875 } 3876 3876 3877 void ICQUser::SetTLVList(TLVList& tlvs) 3878 { 3879 myTLVs.clear(); 3880 3881 for (TLVListIter it = tlvs.begin(); it != tlvs.end(); it++) 3882 myTLVs[it->first] = it->second; 3883 } 3884 3877 3885 //=====ICQOwner================================================================= 3878 3886
