From 23548ef1510149d28e661c4fbc7f43bf800585f5 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Fri, 25 Nov 2022 14:10:04 +0100 Subject: [PATCH] Fix compilation against newer libQuotient --- src/messageeventmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messageeventmodel.cpp b/src/messageeventmodel.cpp index ccf2f91d0..ff7a49d86 100644 --- a/src/messageeventmodel.cpp +++ b/src/messageeventmodel.cpp @@ -854,7 +854,7 @@ QVariant MessageEventModel::data(const QModelIndex &idx, int role) const if (evt.originalEvent()) { auto encrypted = dynamic_cast(evt.originalEvent()); Q_ASSERT(encrypted); - return m_currentRoom->connection()->isVerifiedSession(encrypted->sessionId()); + return m_currentRoom->connection()->isVerifiedSession(encrypted->sessionId().toLatin1()); } #endif #endif