Given that this reply is usually received in several packets and different parameters of a single contact are spread through different subpackets, it's quite inconvenitent to process users step-by-step, as opposed to other subtypes like groups, permit/deny preferences, etc...

The patch in attachment makes users to be collected into a separate map and processed all at once. Ergo, only one user_updated signal for a single contact.

Please review the patch and pay additional attention to memory usage and data types, since I suspect that this patch could be improved in these aspects.

--
Eugene Paskevich             |   *==)-----------   |     Plug me into
[EMAIL PROTECTED]        |   -----------(==*   |      The Matrix

Attachment: licq_server_userlist.patch
Description: Binary data

Reply via email to