diff options
author | Tobias Markmann <tm@ayena.de> | 2015-10-29 16:15:20 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2015-10-30 12:50:06 (GMT) |
commit | efb98f5c83fc5e0fb598a88e04c8bf6f642b5e2a (patch) | |
tree | 0f520a39713370f711c82610c089e966beb70412 /Swift/Controllers/Roster/RosterController.cpp | |
parent | 8719b25e0dda4c8dae30c86ff88315e0e7fa9e1c (diff) | |
download | swift-efb98f5c83fc5e0fb598a88e04c8bf6f642b5e2a.zip swift-efb98f5c83fc5e0fb598a88e04c8bf6f642b5e2a.tar.bz2 |
Fix code in response to unused macro and private field warnings
Test-Information:
Build and tests pass successfully on OS X 10.10.5.
Change-Id: I614586660796f9ef043156d09d998d39934a6eca
Diffstat (limited to 'Swift/Controllers/Roster/RosterController.cpp')
-rw-r--r-- | Swift/Controllers/Roster/RosterController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Roster/RosterController.cpp b/Swift/Controllers/Roster/RosterController.cpp index 751ca32..75acaa9 100644 --- a/Swift/Controllers/Roster/RosterController.cpp +++ b/Swift/Controllers/Roster/RosterController.cpp @@ -374,13 +374,13 @@ void RosterController::handleAvatarChanged(const JID& jid) { mainWindow_->setMyContactRosterItem(ownContact_); } } void RosterController::handlePresenceChanged(Presence::ref presence) { if (presence->getFrom().equals(myJID_, JID::WithResource)) { - ownContact_->applyPresence(std::string(), presence); + ownContact_->applyPresence(presence); mainWindow_->setMyContactRosterItem(ownContact_); } else { handleIncomingPresence(presence); } } |