summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Slimber/Server.cpp')
-rw-r--r--Slimber/Server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Slimber/Server.cpp b/Slimber/Server.cpp
index 7ec3b66..734f3b8 100644
--- a/Slimber/Server.cpp
+++ b/Slimber/Server.cpp
@@ -407,8 +407,8 @@ LinkLocalServiceInfo Server::getLinkLocalServiceInfo(boost::shared_ptr<Presence>
if (!vcard->getNickname().isEmpty()) {
info.setNick(vcard->getNickname());
}
- if (!vcard->getEMail().isEmpty()) {
- info.setEMail(vcard->getEMail());
+ if (!vcard->getPreferredEMailAddress().address.isEmpty()) {
+ info.setEMail(vcard->getPreferredEMailAddress().address);
}
info.setMessage(presence->getStatus());
switch (presence->getShow()) {