This commit is contained in:
otsmr 2025-11-15 00:13:53 +01:00
parent 72495b4c2a
commit 4623487556

View file

@ -328,6 +328,12 @@ class _MediaViewerViewState extends State<MediaViewerView> {
imageSaving = true; imageSaving = true;
}); });
await currentMedia!.storeMediaFile(); await currentMedia!.storeMediaFile();
await twonlyDB.messagesDao.updateMessageId(
currentMessage!.messageId,
const MessagesCompanion(
mediaStored: Value(true),
),
);
await sendCipherTextToGroup( await sendCipherTextToGroup(
widget.group.groupId, widget.group.groupId,
pb.EncryptedContent( pb.EncryptedContent(