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 | |||
| @@ -375,11 +375,11 @@ void RosterController::handleAvatarChanged(const JID& jid) { | |||
| 375 | } | 375 | } |
| 376 | } | 376 | } |
| 377 | 377 | ||
| 378 | void RosterController::handlePresenceChanged(Presence::ref presence) { | 378 | void RosterController::handlePresenceChanged(Presence::ref presence) { |
| 379 | if (presence->getFrom().equals(myJID_, JID::WithResource)) { | 379 | if (presence->getFrom().equals(myJID_, JID::WithResource)) { |
| 380 | ownContact_->applyPresence(std::string(), presence); | 380 | ownContact_->applyPresence(presence); |
| 381 | mainWindow_->setMyContactRosterItem(ownContact_); | 381 | mainWindow_->setMyContactRosterItem(ownContact_); |
| 382 | } | 382 | } |
| 383 | else { | 383 | else { |
| 384 | handleIncomingPresence(presence); | 384 | handleIncomingPresence(presence); |
| 385 | } | 385 | } |
Swift