diff options
author | Joe Robinson <joe@grabyo.com> | 2017-04-19 16:45:43 +0100 |
---|---|---|
committer | Joe Robinson <joe@grabyo.com> | 2017-04-19 16:45:43 +0100 |
commit | ae5ad64bfe0e339315b316cd832078f6b86800f6 (patch) | |
tree | 32736e2c7772e0329cbfc823d735d6b57f501dc3 | |
parent | 37d883535366f03e3ee4044a59569942864af0a5 (diff) |
Change formatting of nicks
-rw-r--r-- | IrcHandler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IrcHandler.py b/IrcHandler.py index bf5c166..52c9b1c 100644 --- a/IrcHandler.py +++ b/IrcHandler.py @@ -64,7 +64,7 @@ class IrcHandler(QObject): self.join_channel(channel) else: self.sig.emit(current_channel, text) - self.window.update_chat(current_channel, self.nick + ": " + text) + self.window.update_chat(current_channel, "<b><" + self.nick + "></b> " + text) self.window.reset_input(current_channel) @@ -72,7 +72,7 @@ class IrcHandler(QObject): def handle_msg(self, channelStr, nick, msg): if channelStr in self.channels: channel = self.channels[channelStr] - self.window.update_chat(channelStr , nick + ": " + msg) + self.window.update_chat(channelStr, "<b><" + nick + "></b> " + msg) @pyqtSlot(str, str) def handle_nicks(self, channelStr, nicks): |