Show invitation lifetime and correlate desktop join results by group
This commit is contained in:
1 parent
d369ff968d
commit
fb21f9c1af
2 files changed
+9
-1
No files matched your search
@@ -17,6 +17,7 @@
|
||||
|
||||
extern "C" {
|
||||
#include "../../../src/chat/invite_build.h"
|
||||
#include "../../../src/chat/chat_join.h"
|
||||
#include "../../../lib/mem.h"
|
||||
}
|
||||
|
||||
@@ -31,6 +32,9 @@ ShareInviteDialog::ShareInviteDialog(const QString& channelId, DbManager* db, QW
|
||||
|
||||
auto *layout = new QVBoxLayout(this);
|
||||
layout->setSpacing(12);
|
||||
auto* expiry = new QLabel(QStringLiteral("Ссылка действует %1 минут с момента создания.").arg(JOIN_KEY_TTL_SECONDS / 60), this);
|
||||
expiry->setWordWrap(true);
|
||||
layout->addWidget(expiry);
|
||||
|
||||
auto *nodeLabel = new QLabel(QString::fromUtf8("Узел входа:"), this);
|
||||
nodeLabel->setStyleSheet("font-size: 12px; color: palette(window-text);");
|
||||
|
||||
Reference in new issue
Block a user