Support Save History Default + Delete Server #529

Merged
sarah merged 8 commits from stable-blockers into master 2023-08-22 20:22:23 +00:00
1 changed files with 4 additions and 4 deletions
Showing only changes of commit aae8a7fc03 - Show all commits

View File

@ -331,16 +331,16 @@ const (
const (
SaveHistoryDefaultKey = "SaveHistoryDefault" // profile level default
SaveHistoryKey = "SavePeerHistory"
DeleteHistoryDefault = "DefaultDeleteHistory" // used at both profile and contact level.
DeleteHistoryDefault = "DefaultDeleteHistory" // used at both profile and contact level.
)
// Define Default Attribute Values
const (
// Save History has 3 distinct states. By default we refer to the profile level
// attribute SaveHistoryDefaultKey ( default: unset i.e. DefaultDeleteHistory),
// For each contact, if the profile owner confirms this we change to DeleteHistoryConfirmed,
// attribute SaveHistoryDefaultKey ( default: unset i.e. DefaultDeleteHistory),
// For each contact, if the profile owner confirms this we change to DeleteHistoryConfirmed,
// if the profile owner confirms they want to save history then this becomes SaveHistoryConfirmed
// These settings are set at the UI level usig SetScopeZoneAttribute local.profile.*
// These settings are set at the UI level using Get/SetScopeZoneAttribute with scoped zone: local.profile.*
SaveHistoryConfirmed = "SaveHistory"
DeleteHistoryConfirmed = "DeleteHistoryConfirmed"
SaveHistoryDefault = "DefaultSaveHistory"