ucs: fix Persona key extraction
commitd4010212c446b0892b62aae5418611f8fe889b94
authorStefan Becker <chemobejk@gmail.com>
Tue, 3 Dec 2013 15:39:09 +0000 (3 17:39 +0200)
committerStefan Becker <chemobejk@gmail.com>
Thu, 5 Dec 2013 20:48:42 +0000 (5 22:48 +0200)
tree6ee2521967702fbaff4a2790328763b118ca0fc7
parent241d71d33069fd87d4af6bdaca4ec85241045c44
ucs: fix Persona key extraction

Based on the log provided in the following discussion thread

  https://sourceforge.net/p/sipe/discussion/688534/thread/db025884/

it turned out that the text for Attribution/DisplayName is localized,
i.e. the text "Lync Contacts" gets translated to the local language.

Switch over to check IsQuickContact == true and IsHidden == false, which
seems to be another indication that the Attribution node contains the
key for the Lync Contact. It's still a guessing game :-(

(cherry picked from commit 8763852bb5aa9709bbe6f93b9088f8d607e061b8)
src/core/sipe-ucs.c