fix wrong increase of last message
Some checks are pending
Flutter analyze & test / flutter_analyze_and_test (push) Waiting to run

This commit is contained in:
otsmr 2026-04-10 21:21:54 +02:00
parent 6154d7b48c
commit cc3a7b8b64

View file

@ -304,7 +304,9 @@ Future<void> sendCipherTextToGroup(
}) async {
final groupMembers = await twonlyDB.groupsDao.getGroupNonLeftMembers(groupId);
if (!onlySendIfNoReceiptsAreOpen) {
await twonlyDB.groupsDao.increaseLastMessageExchange(groupId, clock.now());
}
encryptedContent.groupId = groupId;