Exclude remote megaphones from local backups.

This commit is contained in:
Cody Henthorne
2025-05-30 13:20:05 -04:00
parent 3bd4e39093
commit b2f1867787
5 changed files with 13 additions and 10 deletions

View File

@@ -47,12 +47,12 @@ object RemoteMegaphoneRepository {
}
private val finish: Action = Action { context, controller, remote ->
if (remote.imageUri != null) {
BlobProvider.getInstance().delete(context, remote.imageUri)
}
controller.onMegaphoneSnooze(Megaphones.Event.REMOTE_MEGAPHONE)
SignalExecutors.BOUNDED_IO.execute {
db.markFinished(remote.uuid)
if (remote.imageUri != null) {
BlobProvider.getInstance().delete(context, remote.imageUri)
}
}
}