More image dialog fixes

This commit is contained in:
Nicolas Werner 2022-05-10 03:19:53 +02:00
parent 8f6ed458a6
commit a6b2be112b
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
35 changed files with 95 additions and 50 deletions

View file

@ -1366,7 +1366,8 @@ struct SendMessageVisitor
{
explicit SendMessageVisitor(TimelineModel *model)
: model_(model)
{}
{
}
template<typename T, mtx::events::EventType Event>
void sendRoomEvent(mtx::events::RoomEvent<T> msg)
@ -1390,7 +1391,8 @@ struct SendMessageVisitor
// Do-nothing operator for all unhandled events
template<typename T>
void operator()(const mtx::events::Event<T> &)
{}
{
}
// Operator for m.room.message events that contain a msgtype in their content
template<typename T,