mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 14:28:40 +00:00
fix #311
This commit is contained in:
parent
72495b4c2a
commit
4623487556
1 changed files with 6 additions and 0 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue