aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-sync.c
Commit message (Collapse)AuthorAgeFilesLines
* Move the room member table management out to a separate fileRichard van der Hoff2015-10-291-11/+6
| | | | | | | | | Trying to keep the size of matrix-room.c under control, move the membertable management bits out to a separate file. Also do away with the special handling for the first /sync of a room, and instead *always* group together member arrivals/departures until after we've finished handling the state table.
* Set the 'persistent' flag on rooms when added to the buddy listRichard van der Hoff2015-10-291-0/+38
| | | | The 'persistent' behaviour matches the matrix model much better.
* Add an indication of the members of a roomRichard van der Hoff2015-10-271-12/+21
| | | | | | | | An initial implementation for displaying the people in a room. This isn't very nice, and the code is somewhat thrown together as a prototype/proof-of-concept for now. We probably want to refactor matrix-room.c, which is now altogether too unwieldy. It probably also makes sense to try to do some of this stuff on the server.
* Better room names for one-to-one chatsRichard van der Hoff2015-10-261-1/+2
| | | | Give rooms a name according to who's in it, if there is no proper name.
* Refactor the connection codeRichard van der Hoff2015-10-221-38/+6
| | | | | | | 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
* Rename MatrixAccount to MatrixConnectionDataRichard van der Hoff2015-10-221-8/+8
| | | | | This structure comes and goes with each connection, so rename it to better reflect its lifecycle.
* Stash the next_batch token in the account settingsRichard van der Hoff2015-10-221-2/+7
| | | | | Persist the next_batch, so that we don't get old scrollback each time we open the application.
* Update README and file commentsRichard van der Hoff2015-10-211-2/+2
|
* Local echoRichard van der Hoff2015-10-211-26/+12
| | | | Do local echo of sent messages, and ignore the remote echo.
* Use libhttp_parser for parsing the API responseRichard van der Hoff2015-10-201-4/+2
| | | | Use an external http parser, instead of inventing that wheel ourselves.
* Refactor API callbacksRichard van der Hoff2015-10-201-30/+5
| | | | | Factor out the handling of errors from API calls, to make it easier to add new ones.
* Refactor a load of codeRichard van der Hoff2015-10-191-0/+221
Move things around quite a lot, to make it a bit saner