mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Fix crash when reacting to messages from /sync
Messages on /sync don't have a room_id
This commit is contained in:
parent
f0757a6426
commit
5abdad308d
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ TimelineModel::data(const QString &id, int role) const
|
|||
else
|
||||
return {};
|
||||
case RoomId:
|
||||
return QVariant(QString::fromStdString(room_id(event)));
|
||||
return QVariant(room_id_);
|
||||
case RoomName:
|
||||
return QVariant(QString::fromStdString(room_name(event)));
|
||||
case RoomTopic:
|
||||
|
|
Loading…
Reference in a new issue