Yaaf.Xmpp.MessageArchiving


IUserPreferenceStore

Defined in Yaaf.Xmpp.MessageArchiving.dll.

Instance members

Instance memberDescription
GetUserPreferences()
Signature: unit -> Task<StoredPreferenceInfo option>
Modifiers: abstract
Get the user preferences of a specific user, returns None when the user never saved anything, the bool indicates whether 'archiving method preferences' where set.
RemoveItem(arg1)
Signature: JabberId -> Task
Modifiers: abstract
Remove a previously set item.
SetArchiving(arg1)
Signature: (bool option) -> Task
Modifiers: abstract
Save preference for archiving, None removes this setting and restores server defauls.
SetDefaultOtrSaveMode(arg1)
Signature: (OtrSaveMode option) -> Task
Modifiers: abstract
Save the user preferences of a specific user, returns None when the user never saved anything Set the default preferences for all items (expire, otrmode, savemode). None deletes this preferences and uses the default next time!
SetItem(arg1, arg2)
Signature: (JabberId * OtrSaveMode) -> Task
Modifiers: abstract
Save preferences for an item.
SetMethodPreferences(arg1)
Signature: (AllMethodSettings option) -> Task
Modifiers: abstract
Set method preferences, None deletes this key and restores the defaults
Fork me on GitHub