Use user-provided username in `displayName()`
authorFelix Eckhofer <felix@eckhofer.com>
Mon, 30 Sep 2019 15:56:14 +0000 (17:56 +0200)
committerFelix Eckhofer <felix@eckhofer.com>
Mon, 30 Sep 2019 15:56:14 +0000 (17:56 +0200)
commitace142bb23c4bd0f42bca90e7eb772e8fdac7c25
treeb0f53eed2ad51500bbc5562ce1322cb7be0efa48
parenta1407209016bb8754ffae2f63ee8d634f123f2a1
Use user-provided username in `displayName()`

This replaces `davUser()`, which is replaced by a numeric ID when using
LDAP, by the username that was actually used for logging in.

Fixes #836

Signed-off-by: Felix Eckhofer <felix@eckhofer.com>
src/libsync/account.cpp