diff options
author | Dr. David Alan Gilbert <dave@treblig.org> | 2017-02-12 01:09:59 +0000 |
---|---|---|
committer | Dr. David Alan Gilbert <dave@treblig.org> | 2018-02-25 02:08:49 +0000 |
commit | 22e9f6c194ffc3b223704d79526b1db94bff0224 (patch) | |
tree | 214c755ff8fe43f73a1ef3534de34e8eee079bf4 /libmatrix.h | |
parent | a5c49085eb4f47b7930f8b1c0b9ca827083eb4e5 (diff) | |
download | purple-matrix-22e9f6c194ffc3b223704d79526b1db94bff0224.tar.gz |
e2e: Store OLM account state to the Purple Account data
The OLM account state can be 'pickled'; we store this in Purple's
account data store as a JSON string.
Note; OLM lets us encrypt the pickle, but we've got no key to encrypt
it with; I don't think Purple has anything for wiring into the
system key store.
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Diffstat (limited to 'libmatrix.h')
-rw-r--r-- | libmatrix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmatrix.h b/libmatrix.h index f4a8ce7..86ce891 100644 --- a/libmatrix.h +++ b/libmatrix.h @@ -115,6 +115,8 @@ #define PRPL_ACCOUNT_OPT_HOME_SERVER "home_server" #define PRPL_ACCOUNT_OPT_NEXT_BATCH "next_batch" #define PRPL_ACCOUNT_OPT_SKIP_OLD_MESSAGES "skip_old_messages" +/* Pickled account info from olm_pickle_account */ +#define PRPL_ACCOUNT_OPT_OLM_ACCOUNT_KEYS "olm_account_keys" /* defaults for account options */ #define DEFAULT_HOME_SERVER "https://matrix.org" |