From: Manuel Nickschas Date: Sat, 1 Mar 2008 10:01:58 +0000 (+0000) Subject: Display notices correctly. Fixes BR #124. X-Git-Tag: 0.2.0-alpha2~3 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=f8ce53c8dc6b89d9bab4c6eed7bafb8a9fc612f0 Display notices correctly. Fixes BR #124. --- diff --git a/src/common/message.cpp b/src/common/message.cpp index 4b2dc4d3..58d1a89c 100644 --- a/src/common/message.cpp +++ b/src/common/message.cpp @@ -107,6 +107,8 @@ void Message::format() { switch(type()) { case Message::Plain: s = tr("%DS<%1>").arg(nick); t = tr("%D0%1").arg(txt); break; + case Message::Notice: + s = tr("%Dn*"); t = tr("%Dn%1").arg(txt); break; case Message::Server: s = tr("%Ds*"); t = tr("%Ds%1").arg(txt); break; case Message::Error: