diff options
Diffstat (limited to 'src/gui/windows/socialwindow.cpp')
-rw-r--r-- | src/gui/windows/socialwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp index 5b7868abb..e792d0a0a 100644 --- a/src/gui/windows/socialwindow.cpp +++ b/src/gui/windows/socialwindow.cpp @@ -277,7 +277,7 @@ void SocialWindow::action(const ActionEvent &event) strprintf(_("Accepted party invite from %s."), mPartyInviter.c_str())); } - Net::getPartyHandler()->inviteResponse(mPartyInviter, true); + partyHandler->inviteResponse(mPartyInviter, true); } else if (eventId == "no") { @@ -288,7 +288,7 @@ void SocialWindow::action(const ActionEvent &event) strprintf(_("Rejected party invite from %s."), mPartyInviter.c_str())); } - Net::getPartyHandler()->inviteResponse(mPartyInviter, false); + partyHandler->inviteResponse(mPartyInviter, false); } mPartyInviter.clear(); @@ -373,7 +373,7 @@ void SocialWindow::action(const ActionEvent &event) if (name.size() > 16) return; - Net::getPartyHandler()->create(name); + partyHandler->create(name); if (localChatTab) { // TRANSLATORS: chat message |