diff options
Diffstat (limited to 'Swiften/Client/NickResolver.cpp')
-rw-r--r-- | Swiften/Client/NickResolver.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Swiften/Client/NickResolver.cpp b/Swiften/Client/NickResolver.cpp index c151dfa..9bfe269 100644 --- a/Swiften/Client/NickResolver.cpp +++ b/Swiften/Client/NickResolver.cpp @@ -16,6 +16,7 @@ // FIXME: The NickResolver currently relies on the vcard being requested by the client on login. // The VCardManager should get an onConnected() signal (which is signalled when the stanzachannel is available(, and each time this is emitted, // the nickresolver should request the vcard. +// FIXME: The ownJID functionality should probably be removed, and NickManager should be used directly. namespace Swift { @@ -67,9 +68,6 @@ void NickResolver::handleVCardReceived(const JID& jid, VCard::ref ownVCard) { ownNick_ = ownVCard->getFullName(); } } - if (ownNick_ != initialNick) { - onOwnNickChanged(ownNick_); - } } } |