X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Feventstringifier.cpp;h=c7da8d78b5279beecdfdf69bfec90977d3ff14d2;hb=4cf9c160f318a71400b032ea6d3031b9e6628a56;hp=15e246f38ec457427238272c6741f98f6dd0ba97;hpb=d272e4719d2770a018f9a2856b61d9847eb24201;p=quassel.git diff --git a/src/core/eventstringifier.cpp b/src/core/eventstringifier.cpp index 15e246f3..c7da8d78 100644 --- a/src/core/eventstringifier.cpp +++ b/src/core/eventstringifier.cpp @@ -365,10 +365,11 @@ void EventStringifier::processIrcEventPart(IrcEvent *e) void EventStringifier::processIrcEventPong(IrcEvent *e) { - QString timestamp = e->params().at(1); - QTime sendTime = QTime::fromString(timestamp, "hh:mm:ss.zzz"); - if (!sendTime.isValid()) - displayMsg(e, Message::Server, "PONG " + e->params().join(" "), e->prefix()); + // CoreSessionEventProcessor will flag automated PONG replies as EventManager::Silent. There's + // no need to handle that specially here. + + // Format the PONG reply for display + displayMsg(e, Message::Server, "PONG " + e->params().join(" "), e->prefix()); }