Fix crashes due to event being deleted

This commit is contained in:
Tobias Fella
2024-07-06 15:54:29 +02:00
parent 799b62e9d2
commit 13b15390c3
2 changed files with 8 additions and 8 deletions

View File

@@ -115,7 +115,7 @@ private:
QPointer<NeoChatRoom> m_room;
QString m_eventId;
QString m_eventSenderId;
const Quotient::RoomEvent *m_event = nullptr;
Quotient::RoomEventPtr m_event;
bool m_isPending;
bool m_showAuthor = true;