client: Fix Chat Monitor missing sender brackets
authorShane Synan <digitalcircuit36939@gmail.com>
Fri, 22 Sep 2017 23:56:49 +0000 (18:56 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 5 Feb 2018 00:28:02 +0000 (01:28 +0100)
commitb8e812857ca64834078e1f620bf98fffa48b7768
tree604b8dc6a3e3dff27846cb8adf11a2bd7e03989d
parent6d32c0e7661d4404c2bd0e44652439b6c55b4545
client: Fix Chat Monitor missing sender brackets

Always re-add hidden sender brackets for the Chat Monitor as the
normal sender prefixes get replaced with Network, Buffer, and Sender
names.

Sender brackets shown:
> Copy-pasted
  Chat Monitor: <Bitlbee:#channel> digitalcircuit does things
  Channel:      -*- digitalcircuit does things

Before:
> Copy-pasted with sender brackets hidden (wrong)
  Chat Monitor: Bitlbee:#channel digitalcircuit does things
  Channel:      -*- digitalcircuit does things

After:
> Copy-pasted with sender brackets hidden (correct)
  Chat Monitor: <Bitlbee:#channel> digitalcircuit does things
  Channel:      -*- digitalcircuit does things

Closes GH-314.
src/qtui/chatmonitorview.cpp
src/qtui/chatscene.cpp
src/qtui/chatscene.h