Chats pruning (one-to-one and groups) #640
Labels
No Label
android
arch
backlog
blocked-on-external
bug
bugbash
component/bindings
component/bine
component/connectivity
component/cwtch
component/tapir
component/ui
cwtch-1.14
cwtch-1.15
cwtch-beta-1.1
cwtch-beta-1.10
cwtch-beta-1.11
cwtch-beta-1.12
cwtch-beta-1.13
cwtch-beta-1.2
cwtch-beta-1.3
cwtch-beta-1.4
cwtch-beta-1.5
cwtch-beta-1.5.x
cwtch-beta-1.6
cwtch-beta-1.7
cwtch-beta-1.8
cwtch-beta-1.9
design
duplicate
enhancement
flutter
funding-needed
help wanted
hybrid-groups
in-nightly
in-progress
invalid
ios
linux
mac
need-replication-or-investigation
ops
packaging
post-stable
question
questionable
requires-more-effort-than-we-can-spare
rust
scheduled
stable-blocker
tails
testing-needed
tests
tor
waiting-on-fix-confirmation
waiting-on-new-flutter-feature
whonix
windows
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cwtch.im/cwtch-ui#640
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In order to keep the backup of an account short and light, but also to have shorter recovery times (think about groups or those very long chats) I ask that it be introduced the possibility of setting a length limit for the individual chats and the groups.
This limit should not have a time limit, but a unitary one.
For example: Always keep the last 100 messages.
This limit is set locally, on the client device, so the server (in the case of groups) will only deliver the client messages that meet its local rule (which is a user-decided value).
This is something we discussed in the very early days of Cwtch, and I believe an early prototype might have even had support for it but it never migrated past alpha.
Ideally I think we would allow both time-based pruning (save messages for 1 day / week / month), and absolute pruning (100 max messages).
There is already a prune messages api in cwtch that checks the save history status. It would not be too much work to have it check additional qualifiers.
Related to: #608
After consideration, given the work we are planning with hybrid groups after stable, and given the legacy state of groups, this work is being rescheduled until after stable.
Is the timeline on this for after the (very exciting) work on groups? The absence of time-based pruning is the only hesitation I currently have for using Cwtch in some use cases, and I imagine some other users might also really value this feature.
Managed Groups will have this feature from the get go.