Skip to content

Commit

Permalink
Merge PR #2537: Messages: add the prefix “Private” in MainWindow::msg…
Browse files Browse the repository at this point in the history
…TextMessage().
  • Loading branch information
mkrautz committed Aug 29, 2016
2 parents 13772c1 + 50c7c77 commit e6cde15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mumble/Messages.cpp
Expand Up @@ -682,6 +682,8 @@ void MainWindow::msgTextMessage(const MumbleProto::TextMessage &msg) {
target += tr("(Tree) ");
} else if (msg.channel_id_size() > 0) {
target += tr("(Channel) ");
} else if (msg.session_size() > 0) {
target += tr("(Private) ");
}

g.l->log(Log::TextMessage, tr("%2%1: %3").arg(name).arg(target).arg(u8(msg.message())),
Expand Down

0 comments on commit e6cde15

Please sign in to comment.