forked from blue/squawk
transition to QXMppCarbonManagerV2 if QXmpp version is heigher than 1.5.0
This commit is contained in:
parent
4b68da458f
commit
8ec0af3205
5 changed files with 28 additions and 2 deletions
|
@ -79,7 +79,9 @@ void Core::DiscoveryHandler::onInfoReceived(const QXmppDiscoveryIq& info)
|
|||
|
||||
if (enableCC) {
|
||||
qDebug() << "Enabling carbon copies for account" << accName;
|
||||
#if (QXMPP_VERSION) < QT_VERSION_CHECK(1, 5, 0)
|
||||
acc->cm->setCarbonsEnabled(true);
|
||||
#endif
|
||||
#ifdef WITH_OMEMO
|
||||
if (!omemoToCarbonsConnected && acc->oh->hasOwnDevice()) {
|
||||
// connect(this, &QXmppCarbonManager::messageSent, acc->om, &QXmppOmemoManager::handleMessage);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue