1
0
Fork 0
forked from blue/squawk

some thoughts on detecting condition for enablining or showing the button for encryption in chat window

This commit is contained in:
Blue 2023-03-15 21:17:44 +03:00
parent 21b40a9ccb
commit 283e9ebc4d
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
11 changed files with 269 additions and 17 deletions

View file

@ -120,6 +120,8 @@ Account::Account(const QString& p_login, const QString& p_server, const QString&
QObject::connect(delay, &DelayManager::Manager::requestBundles, oh, &OmemoHandler::requestBundles);
QObject::connect(delay, &DelayManager::Manager::requestOwnBundles, oh, &OmemoHandler::requestOwnBundles);
QObject::connect(om, &QXmppOmemoManager::deviceAdded, oh, &OmemoHandler::onOmemoDeviceAdded);
client.addExtension(tm);
client.addExtension(om);
om->setSecurityPolicy(QXmpp::Toakafa);