Fix compilation against newer libQuotient

This commit is contained in:
Tobias Fella
2022-11-25 14:10:04 +01:00
parent b488da4e33
commit 23548ef151

View File

@@ -854,7 +854,7 @@ QVariant MessageEventModel::data(const QModelIndex &idx, int role) const
if (evt.originalEvent()) {
auto encrypted = dynamic_cast<const EncryptedEvent *>(evt.originalEvent());
Q_ASSERT(encrypted);
return m_currentRoom->connection()->isVerifiedSession(encrypted->sessionId());
return m_currentRoom->connection()->isVerifiedSession(encrypted->sessionId().toLatin1());
}
#endif
#endif