mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-05-25 01:12:12 +00:00
delete images if they where send in a direct chat
Some checks failed
Flutter analyze & test / flutter_analyze_and_test (push) Has been cancelled
Some checks failed
Flutter analyze & test / flutter_analyze_and_test (push) Has been cancelled
This commit is contained in:
parent
6a611767fc
commit
cdababa3c8
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ class MediaFileService {
|
|||
final group = await twonlyDB.groupsDao.getGroup(
|
||||
message.groupId,
|
||||
);
|
||||
if (group != null) {
|
||||
if (group != null && !group.isDirectChat) {
|
||||
delete = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue