Update the room list after a redacted event has been removed
fixes #286
This commit is contained in:
parent
3afc76dbaa
commit
33a8628059
1
Makefile
1
Makefile
@ -2,7 +2,6 @@
|
|||||||
debug:
|
debug:
|
||||||
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1
|
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1
|
||||||
@cmake --build build
|
@cmake --build build
|
||||||
@cp build/compile_commands.json .
|
|
||||||
|
|
||||||
ci:
|
ci:
|
||||||
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||||
|
@ -770,6 +770,10 @@ TimelineView::removeEvent(const QString &event_id)
|
|||||||
// Finally remove the event.
|
// Finally remove the event.
|
||||||
removedItem->deleteLater();
|
removedItem->deleteLater();
|
||||||
eventIds_.remove(event_id);
|
eventIds_.remove(event_id);
|
||||||
|
|
||||||
|
// Update the room list with a view of the last message after
|
||||||
|
// all events have been processed.
|
||||||
|
QTimer::singleShot(0, this, [this]() { notifyForLastEvent(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget *
|
QWidget *
|
||||||
|
Loading…
Reference in New Issue
Block a user