notify: contact list processing for Lync 2013 UCS
commitf44f07f5e28f973f1c3aa9d783d259fe349bd69e
authorStefan Becker <chemobejk@gmail.com>
Fri, 12 Jul 2013 21:32:29 +0000 (13 00:32 +0300)
committerStefan Becker <chemobejk@gmail.com>
Sat, 13 Jul 2013 12:55:50 +0000 (13 15:55 +0300)
treec5a43a4fe6c5b867d47cbd34b4ed246145d6939b
parent6a5f7f418caafe55320d16fd69d1b8ba21e17032
notify: contact list processing for Lync 2013 UCS

When the contact list has been migrated to Unified Contact Store (UCS)
on Lync 2013 then the list piggybacked on the SUBSCRIBE response is
empty. That means that we won't subscribe to any buddies and therefore
they all appear offline.

But the server immediately sends a NOTIFY with the real list. Change the
list processing to ignore the first empty list and process the second
one.

(cherry picked from commit 0f5cb722461ea9a3f3050ddbec959acd3dc05aed)
src/core/sipe-notify.c