chore: Update last event after decryption

This commit is contained in:
Krille 2024-06-26 14:46:51 +02:00
parent 520d854e68
commit cdd32e7002
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -232,7 +232,9 @@ class ChatListItem extends StatelessWidget {
softWrap: false,
)
: FutureBuilder(
key: ValueKey(lastEvent?.eventId),
key: ValueKey(
'${lastEvent?.eventId}_${lastEvent?.type}',
),
future: needLastEventSender
? lastEvent.calcLocalizedBody(
MatrixLocals(L10n.of(context)!),