diff options
author | trilene <trilene@runbox.com> | 2020-07-10 19:19:48 -0400 |
---|---|---|
committer | trilene <trilene@runbox.com> | 2020-07-10 19:19:48 -0400 |
commit | 7a206441c86cd2aa84cbbbc6be803f03b2f355ab (patch) | |
tree | 1fe734ab983daa8998eb23432bd560d7dabf7866 /src/Cache.cpp | |
parent | Fix m.relates_to being sent as 'null' when not set in encrypted messages. (diff) | |
download | nheko-7a206441c86cd2aa84cbbbc6be803f03b2f355ab.tar.xz |
Support voice calls
Diffstat (limited to 'src/Cache.cpp')
-rw-r--r-- | src/Cache.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp index d9d1134e..d435dc56 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -1364,6 +1364,9 @@ Cache::getLastMessageInfo(lmdb::txn &txn, const std::string &room_id) if (!(obj["event"]["type"] == "m.room.message" || obj["event"]["type"] == "m.sticker" || + obj["event"]["type"] == "m.call.invite" || + obj["event"]["type"] == "m.call.answer" || + obj["event"]["type"] == "m.call.hangup" || obj["event"]["type"] == "m.room.encrypted")) continue; |