diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-09-15 19:46:15 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-09-15 19:46:15 (GMT) |
commit | d0367c8477ad2e9993ed5ea6acb2444f21f8f971 (patch) | |
tree | a528dd7725271179e8245ef3875e03aedde23738 /Swift/Controllers/PresenceNotifier.cpp | |
parent | 8e5d1a11824d7a0900feb44ed5b5464d8d94ab2a (diff) | |
download | swift-contrib-d0367c8477ad2e9993ed5ea6acb2444f21f8f971.zip swift-contrib-d0367c8477ad2e9993ed5ea6acb2444f21f8f971.tar.bz2 |
Added EventNotifier.
Diffstat (limited to 'Swift/Controllers/PresenceNotifier.cpp')
-rw-r--r-- | Swift/Controllers/PresenceNotifier.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Swift/Controllers/PresenceNotifier.cpp b/Swift/Controllers/PresenceNotifier.cpp index 74cb4b0..466262d 100644 --- a/Swift/Controllers/PresenceNotifier.cpp +++ b/Swift/Controllers/PresenceNotifier.cpp @@ -86,9 +86,6 @@ void PresenceNotifier::handleStanzaChannelAvailableChanged(bool available) { void PresenceNotifier::showNotification(const JID& jid, Notifier::Type type) { String name = nickResolver->jidToNick(jid); - if (name.isEmpty()) { - name = jid.toBare().toString(); - } String title = name + " (" + getStatusType(jid) + ")"; String message = getStatusMessage(jid); notifier->showMessage(type, title, message, avatarManager->getAvatarPath(jid), boost::bind(&PresenceNotifier::handleNotificationActivated, this, jid)); |