X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoresession.cpp;h=2ca9627ccd0e0d24f8ac0f55e928b84813eb8873;hb=f77a0b720ed58a2b68876b9320742b81b6df871f;hp=39bd69b7f856f59bca4ca49abeb447998edfc7d7;hpb=96d275205b16280f8b938ab7f54d62c51fad358c;p=quassel.git diff --git a/src/core/coresession.cpp b/src/core/coresession.cpp index 39bd69b7..2ca9627c 100644 --- a/src/core/coresession.cpp +++ b/src/core/coresession.cpp @@ -662,8 +662,9 @@ void CoreSession::clientsDisconnected() if (identity->detachAwayEnabled() && !me->isAway()) { if (!identity->detachAwayReason().isEmpty()) - awayReason = formatCurrentDateTimeInString(identity->detachAwayReason()); + awayReason = identity->detachAwayReason(); net->setAutoAwayActive(true); + // Allow handleAway() to format the current date/time in the string. net->userInputHandler()->handleAway(BufferInfo(), awayReason); } }