ucs: optimize contact list update requests
commit44c81db3cf13bc8916320d0907f0043e78be9e38
authorStefan Becker <chemobejk@gmail.com>
Tue, 20 Aug 2013 19:54:07 +0000 (20 22:54 +0300)
committerStefan Becker <chemobejk@gmail.com>
Tue, 20 Aug 2013 19:54:07 +0000 (20 22:54 +0300)
tree8df675f73533bc2a8a2c10ca22534c45320833b7
parent51cd07e065d4831a72b02018d1bf3bdae35fbc5a
ucs: optimize contact list update requests

The server sends us a NOTIFY with an update contact list after we have
made changes to UCS. Instead of generating a useless GetImListItems
operation we now ignore those update triggers that arrive within 10
seconds of our last response.

Not perfect, but this reduces the network traffic considerably when the
user is making many changes to the buddy list in a short time.
src/core/sipe-ucs.c