mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix explicit optional construction on gcc13
This commit is contained in:
parent
04df2cb87b
commit
d7c10ae904
1 changed files with 1 additions and 1 deletions
|
@ -650,7 +650,7 @@ EventStore::get(int idx, bool decrypt)
|
|||
if (edits_.empty())
|
||||
event = cache::client()->getEvent(room_id_, *event_id);
|
||||
else
|
||||
event = {edits_.back()};
|
||||
event = mtx::events::collections::TimelineEvent{edits_.back()};
|
||||
|
||||
if (!event)
|
||||
return nullptr;
|
||||
|
|
Loading…
Reference in a new issue