diff options
Diffstat (limited to 'lib/eventitem.cpp')
-rw-r--r-- | lib/eventitem.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/eventitem.cpp b/lib/eventitem.cpp index f3f18854..de0a5c9f 100644 --- a/lib/eventitem.cpp +++ b/lib/eventitem.cpp @@ -35,9 +35,8 @@ void PendingEventItem::setFileUploaded(const QUrl& remoteUrl) } if (auto* rae = getAs<RoomAvatarEvent>()) { Q_ASSERT(rae->content().fileInfo()); - rae->editContent([remoteUrl](EventContent::FileInfo& fi) { - fi.url = remoteUrl; - }); + rae->editContent( + [remoteUrl](EventContent::FileInfo& fi) { fi.url = remoteUrl; }); } setStatus(EventStatus::FileUploaded); } |