Fix formatting

This commit is contained in:
Tobias Fella
2023-04-03 23:32:31 +02:00
parent e995740790
commit 1a87e605d6

View File

@@ -569,7 +569,7 @@ QVariant MessageEventModel::data(const QModelIndex &idx, int role) const
}
if (auto e = eventCast<const RoomMessageEvent>(&evt)) {
if(e->msgtype() == Quotient::MessageEventType::Location) {
if (e->msgtype() == Quotient::MessageEventType::Location) {
return e->contentJson();
}
// Cannot use e.contentJson() here because some