diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-13 04:11:22 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-13 04:11:22 +0300 |
commit | 27f7142cd86a46d1b13d99a6b86c126892fa86ca (patch) | |
tree | f52d2ecf2ec2893cea67551b7c7fdde2fe39fe72 /src/ChatPage.cc | |
parent | Don't use icons as room avatars (diff) | |
download | nheko-27f7142cd86a46d1b13d99a6b86c126892fa86ca.tar.xz |
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.
Diffstat (limited to 'src/ChatPage.cc')
-rw-r--r-- | src/ChatPage.cc | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/src/ChatPage.cc b/src/ChatPage.cc |