| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Fixes #116
|
|
|
|
|
|
| |
Store the access token we get after login.
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Inverting it allows us to include a warning that it needs a bleeding-edge
synapse.
|
|
|
|
|
| |
... because I have a useful drawing on my desk, and it's no use to anyone else
there.
|
|
|
|
|
| |
The Pidgin UI is crappy for finding old messages, so reload them from the
server on startup.
|
|
|
|
|
|
|
| |
Move all matrix-login and bits of matrix-sync into matrix-connection, where
it seems to make more sense.
Also move MatrixConnectionData into matrix-connection.h
|
|
|
|
|
| |
This structure comes and goes with each connection, so rename it to better
reflect its lifecycle.
|
|
|
|
|
| |
Persist the next_batch, so that we don't get old scrollback each time we open
the application.
|
| |
|
|
|
|
|
| |
Username, password, and homeserver are now configurable options, and we use the
login api rather than making the user get their own access token.
|
|
|
|
|
| |
Make sure we are consistent with the identifiers used for chats, so that
double-clicking on the name of a chat in the buddy list switches to that chat.
|
|
|
|
|
| |
This code needs tidying up, and I need to figure out how to stop the messages
appearing in the logs each time we commit, but it's clearly progress.
|
|
|
|
|
|
| |
Not quite sure if this is the right approach yet - in particular, purple
distinguishes between active 'conversations', as opposed to 'chats' in the
buddy list. Which should our chats be?
|
|
|
|
|
|
|
| |
Our first API call, woohoo.
At the moment we just call initialSync and don't do anything with the
response. But it's satisfying progress.
|
|
Still doesn't do anything, but at least it has the right name now...
|