Commit graph

10 commits

Author SHA1 Message Date
Konstantinos Sideris
1f90c58076 Use timeline to retrieve state events
- Rooms without any history will be shown.
- Room's state will be kept in sync and any updates will be visible.
2017-05-07 17:15:38 +03:00
Konstantinos Sideris
4b4035eebc Rename History to Timeline
In order to be compatible with the Matrix terminology
2017-04-27 03:14:12 +03:00
Konstantinos Sideris
e1d48367f8 Show the unread message count on the window title 2017-04-15 19:04:02 +03:00
Konstantinos Sideris
27f7142cd8 Initial implementation for local echo
Each HistoryView maintains a list of pending events. Each pending
message is validated from the homeserver with either the returned
EventId or the body of the message.

Currently there is no support to remove invalid messages.

Also some small refactoring:
    - ChatPage doesn't know about the message being sent. The message
      delivery is solely handled by HistoryViewManager.
    - Nick coloring function moved to HistoryViewManager.
2017-04-13 04:11:22 +03:00
Konstantinos Sideris
40722b7af7 Remove capitalization 2017-04-11 18:25:39 +03:00
Konstantinos Sideris
6468faa39e Use only a MatrixClient as a shared pointer 2017-04-11 17:45:47 +03:00
Konstantinos Sideris
0770f6e6b5 Make the timer single shot 2017-04-11 02:35:09 +03:00
Konstantinos Sideris
239780557f Add logout button
Logout from the current session and invalidate the current token
2017-04-09 02:17:04 +03:00
Konstantinos Sideris
73e73f46ea Use const refs for the deserialized data 2017-04-06 19:56:33 +03:00
Konstantinos Sideris
4f45575c79 Initial commit 2017-04-06 02:06:42 +03:00