summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-12-15 19:39:17 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-12-15 19:40:08 (GMT)
commita04c157e156061a08bb6dec573eb05f1b6e15b9e (patch)
treeba38dea14c63e411d638bfc550a19fe2a9bed371 /Swiften/Client/NickResolver.h
parent4db2d2d64a44de948c183d8379689fa7b74f59c9 (diff)
downloadswift-a04c157e156061a08bb6dec573eb05f1b6e15b9e.zip
swift-a04c157e156061a08bb6dec573eb05f1b6e15b9e.tar.bz2
Emit nickname change signal when adding to the roster.
So open chat windows should change their title if you're talking to a contact not in your roster, and then add them. Resolves: #704
Diffstat (limited to 'Swiften/Client/NickResolver.h')
-rw-r--r--Swiften/Client/NickResolver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Client/NickResolver.h b/Swiften/Client/NickResolver.h
index de7d64a..697409f 100644
--- a/Swiften/Client/NickResolver.h
+++ b/Swiften/Client/NickResolver.h
@@ -27,6 +27,7 @@ namespace Swift {
private:
void handleVCardReceived(const JID& jid, VCard::ref vCard);
void handleJIDUpdated(const JID& jid, const String& previousNick, const std::vector<String>& groups);
+ void handleJIDAdded(const JID& jid);
private:
JID ownJID_;