notify: correctly handle empty name in contact list
commit29fbc042f87616db516ea8106a769e7149e13ab0
authorJakub Adam <jakub.adam@ktknet.cz>
Tue, 14 Jun 2016 12:56:25 +0000 (14 14:56 +0200)
committerJakub Adam <jakub.adam@ktknet.cz>
Tue, 21 Jun 2016 07:43:51 +0000 (21 09:43 +0200)
tree9cf9891708f900d7206c900ba5b472dbab6ad537
parent967a92a84a79cb54630eb6f8b0c06aaf1e9f8bcb
notify: correctly handle empty name in contact list

"name" attribute is a contact alias which user can manually assign by
renaming the item in the contact list. Empty value means no alias and
Sipe should instead use the regular display name from the contact card
obtained as a part of application/msrtc-event-categories+xml.

On rare occasions Pidgin may have preferred to display that empty string
instead of some more meaningful value.
src/core/sipe-notify.c