diff --git a/src/spectralroom.cpp b/src/spectralroom.cpp index 14838de2e..2a360fc85 100644 --- a/src/spectralroom.cpp +++ b/src/spectralroom.cpp @@ -265,7 +265,7 @@ QString SpectralRoom::eventToString(const RoomEvent& evt, if (prettyPrint) { auto plainBody = e.plainBody(); if (removeReply) { - return plainBody.remove(utils::removeReplyRegex); + plainBody.remove(utils::removeReplyRegex); } return QMatrixClient::prettyPrint(plainBody); }