ucs: fix Persona key extraction
commit8763852bb5aa9709bbe6f93b9088f8d607e061b8
authorStefan Becker <chemobejk@gmail.com>
Tue, 3 Dec 2013 15:39:09 +0000 (3 17:39 +0200)
committerStefan Becker <chemobejk@gmail.com>
Tue, 3 Dec 2013 15:39:09 +0000 (3 17:39 +0200)
treec96161e22b681427b2130b3a2410068f9cb71585
parent384974ec31910008f34258249e6a798c278b44d3
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 :-(
src/core/sipe-ucs.c