Fix broken redact and shrink icon size.
This commit is contained in:
parent
b5713d90f1
commit
24fdee32a2
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 3.9 KiB |
|
@ -108,7 +108,7 @@ void MessageEventModel::setRoom(SpectralRoom* room) {
|
|||
}
|
||||
refreshRow(timelineBaseIndex()); // Refresh the looks
|
||||
if (m_currentRoom->timelineSize() > 1) // Refresh above
|
||||
refreshEventRoles(timelineBaseIndex() + 1, {ReadMarkerRole});
|
||||
refreshEventRoles(timelineBaseIndex() + 1);
|
||||
if (timelineBaseIndex() > 0) // Refresh below, see #312
|
||||
refreshEventRoles(timelineBaseIndex() - 1,
|
||||
{AboveEventTypeRole, AboveAuthorRole,
|
||||
|
@ -126,6 +126,9 @@ void MessageEventModel::setRoom(SpectralRoom* room) {
|
|||
{ReadMarkerRole});
|
||||
refreshEventRoles(lastReadEventId, {ReadMarkerRole});
|
||||
});
|
||||
connect(
|
||||
m_currentRoom, &Room::replacedEvent, this,
|
||||
[this](const RoomEvent* newEvent) { refreshEvent(newEvent->id()); });
|
||||
connect(m_currentRoom, &Room::fileTransferProgress, this,
|
||||
&MessageEventModel::refreshEvent);
|
||||
connect(m_currentRoom, &Room::fileTransferCompleted, this,
|
||||
|
|
Loading…
Reference in New Issue