This commit is contained in:
Nicolas Werner 2022-04-01 01:09:45 +02:00
parent 6f8babc80b
commit 4e5e5d55eb
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 4 additions and 7 deletions

View File

@ -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);