diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp index 2ab5cac2..8dbba488 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp @@ -675,14 +675,11 @@ ChatPage::knockRoom(const QString &room, reason = QInputDialog::getText( nullptr, tr("Knock on room"), + // clang-format off failedJoin - ? tr( - "You failed to join %1. You can try to knock, so that others can invite you in. Do you " - "want to do so?\nYou may optionally provide a reason for others to accept your knock:") - .arg(room) - : tr("Do you really want to knock on %1? You may optionally provide a reason for others to " - "accept your knock:") - .arg(room), + ? tr("You failed to join %1. You can try to knock, so that others can invite you in. Do you want to do so?\nYou may optionally provide a reason for others to accept your knock:").arg(room) + : tr("Do you really want to knock on %1? You may optionally provide a reason for others to accept your knock:").arg(room), + // clang-format on QLineEdit::Normal, reason, &confirmed);