Suggest verifying your own device in Devices settings

This button is currently hidden under the user menu, but it should be
shown more prominently - especially under the Devices settings. The
button under the user menu and this new one is now hidden when your
device is already verified.
This commit is contained in:
Joshua Goins
2025-07-16 19:27:23 -04:00
parent 17af4dfddb
commit 5fe28cb183
5 changed files with 32 additions and 1 deletions

View File

@@ -558,4 +558,9 @@ bool NeoChatConnection::enablePushNotifications() const
return m_pushNotificationsEnabled;
}
bool NeoChatConnection::isVerifiedSession() const
{
return isVerifiedDevice(userId(), deviceId());
}
#include "moc_neochatconnection.cpp"