Skip to content
Permalink
Browse files

Merge PR #3403: use user leave message when user disconnects and is i…

…n the same channel
  • Loading branch information...
bontibon committed Apr 29, 2018
2 parents 00625d6 + 8f60ca8 commit 2ad8c65165441c8250c7b5327e9cd1a858d833cc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mumble/Messages.cpp
@@ -561,7 +561,7 @@ void MainWindow::msgUserRemove(const MumbleProto::UserRemove &msg) {
g.l->log((pSrc == pSelf) ? Log::YouKicked : Log::UserKicked, tr("%3 was kicked from the server by %1: %2.").arg(Log::formatClientUser(pSrc, Log::Source)).arg(reason).arg(Log::formatClientUser(pDst, Log::Target)));
} else {
if (pDst->cChannel == pSelf->cChannel || pDst->cChannel->allLinks().contains(pSelf->cChannel)) {
g.l->log(Log::ChannelLeave, tr("%1 left channel and disconnected.").arg(Log::formatClientUser(pDst, Log::Source)));
g.l->log(Log::UserLeave, tr("%1 left channel and disconnected.").arg(Log::formatClientUser(pDst, Log::Source)));
} else {
g.l->log(Log::UserLeave, tr("%1 disconnected.").arg(Log::formatClientUser(pDst, Log::Source)));
}

0 comments on commit 2ad8c65

Please sign in to comment.
You can’t perform that action at this time.