mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
lint
This commit is contained in:
parent
147dc9d4da
commit
6793bdf3fd
5 changed files with 18 additions and 9 deletions
|
@ -237,8 +237,8 @@ Item {
|
||||||
console.log("STATUS CHANGED: " + SelfVerificationStatus.status);
|
console.log("STATUS CHANGED: " + SelfVerificationStatus.status);
|
||||||
if (SelfVerificationStatus.status == SelfVerificationStatus.NoMasterKey)
|
if (SelfVerificationStatus.status == SelfVerificationStatus.NoMasterKey)
|
||||||
bootstrapCrosssigning.open();
|
bootstrapCrosssigning.open();
|
||||||
else if (SelfVerificationStatus.status == SelfVerificationStatus.UnverifiedMasterKey)
|
// else if (SelfVerificationStatus.status == SelfVerificationStatus.UnverifiedMasterKey)
|
||||||
verifyMasterKey.open();
|
// verifyMasterKey.open();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -631,8 +631,8 @@ DeviceVerificationFlow::sendVerificationRequest()
|
||||||
req.to = this->toClient.to_string();
|
req.to = this->toClient.to_string();
|
||||||
req.msgtype = "m.key.verification.request";
|
req.msgtype = "m.key.verification.request";
|
||||||
req.body = "User is requesting to verify keys with you. However, your client does "
|
req.body = "User is requesting to verify keys with you. However, your client does "
|
||||||
"not support this method, so you will need to use the legacy method of "
|
"not support this method, so you will need to use the legacy method of "
|
||||||
"key verification.";
|
"key verification.";
|
||||||
}
|
}
|
||||||
|
|
||||||
send(req);
|
send(req);
|
||||||
|
|
|
@ -45,4 +45,3 @@ private:
|
||||||
bool isInitialSync_ = false;
|
bool isInitialSync_ = false;
|
||||||
RoomlistModel *rooms_;
|
RoomlistModel *rooms_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -100,10 +100,16 @@ NotificationsManager::systemPostNotification(const QString &line1,
|
||||||
WinToast::instance()->showToast(templ, new CustomHandler());
|
WinToast::instance()->showToast(templ, new CustomHandler());
|
||||||
}
|
}
|
||||||
|
|
||||||
void NotificationsManager::actionInvoked(uint, QString) {}
|
void
|
||||||
void NotificationsManager::notificationReplied(uint, QString) {}
|
NotificationsManager::actionInvoked(uint, QString)
|
||||||
|
{}
|
||||||
|
void
|
||||||
|
NotificationsManager::notificationReplied(uint, QString)
|
||||||
|
{}
|
||||||
|
|
||||||
void NotificationsManager::notificationClosed(uint, uint) {}
|
void
|
||||||
|
NotificationsManager::notificationClosed(uint, uint)
|
||||||
|
{}
|
||||||
|
|
||||||
void
|
void
|
||||||
NotificationsManager::removeNotification(const QString &, const QString &)
|
NotificationsManager::removeNotification(const QString &, const QString &)
|
||||||
|
|
|
@ -1114,7 +1114,11 @@ WebRTCSession::haveLocalPiP() const
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WebRTCSession::createOffer(webrtc::CallType, uint32_t) { return false; }
|
bool
|
||||||
|
WebRTCSession::createOffer(webrtc::CallType, uint32_t)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
WebRTCSession::acceptOffer(const std::string &)
|
WebRTCSession::acceptOffer(const std::string &)
|
||||||
|
|
Loading…
Reference in a new issue