This commit is contained in:
Nicolas Werner 2023-06-02 01:37:53 +02:00
parent c25d0c6b2f
commit de8522a185
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
20 changed files with 95 additions and 116 deletions

View file

@ -20,7 +20,6 @@
#include "timeline/Permissions.h"
#include "timeline/TimelineModel.h"
SingleImagePackModel::SingleImagePackModel(ImagePackInfo pack_, QObject *parent)
: QAbstractListModel(parent)
, roomid_(std::move(pack_.source_room))
@ -29,7 +28,6 @@ SingleImagePackModel::SingleImagePackModel(ImagePackInfo pack_, QObject *parent)
, pack(std::move(pack_.pack))
, fromSpace_(pack_.from_space)
{
if (!pack.pack)
pack.pack = mtx::events::msc2545::ImagePack::PackDescription{};