Skip to content

add api to clear all relay storage #7730

@r10s

Description

@r10s

when the relay storage runs full, we add a warning at 80% and another one at 95%, however, there is currently not much the user can do about that 1, even if they are no longer using multiple devices or exactly know all devices are fine.

first, idea is to avoid that situation as good as possible, eg. delete large files more eagerly on the server, the pre-message will help on that (as eg. text or later thumbnail is still there)

as this is not always possible, however, we want to have an option in the "three dot menu" of connectivity to clear all relays. after internal discussions, it should be a "clear all, everything", so we do not want that per-relay or so. just smth as dc_context_clear_all_relay_storage(context) 2 3

Footnotes

  1. disabing/enabling multi-device-mode might help, but that is odd ;)

  2. we had smth like that in the past btw.

  3. once we have that in all UI, we might consider to remove multi-device-mode, as that was somehow related to save storage - but it can also be the other way round, ppl may enable it "just in case" :) and it already now causes some questions and portential issues

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions