diff options
author | Richard van der Hoff <richard@matrix.org> | 2015-10-22 12:04:59 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2015-10-22 12:04:59 +0100 |
commit | e3911bbf52663436ddd185e7143693f4841f288d (patch) | |
tree | 6b1ea8103a474d907b7d61e5cfb238b500a2143d /libmatrix.h | |
parent | 89883ad8b706d1d30890e6a4228e3f10df07e082 (diff) | |
download | purple-matrix-e3911bbf52663436ddd185e7143693f4841f288d.tar.gz |
Stash the next_batch token in the account settings
Persist the next_batch, so that we don't get old scrollback each time we open
the application.
Diffstat (limited to 'libmatrix.h')
-rw-r--r-- | libmatrix.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libmatrix.h b/libmatrix.h index 7f08c67..9722b97 100644 --- a/libmatrix.h +++ b/libmatrix.h @@ -35,8 +35,14 @@ /* our protocol ID string */ #define PRPL_ID "prpl-matrix" -/* identifiers for account options */ +/* identifiers for account options + * + * some of these are registered as options for the UI, and some are strictly + * internal. But they end up in the same place in the settings file, so they + * share a namespace. + */ #define PRPL_ACCOUNT_OPT_HOME_SERVER "home_server" +#define PRPL_ACCOUNT_OPT_NEXT_BATCH "next_batch" /* defaults for account options */ #define DEFAULT_HOME_SERVER "https://matrix.org" |