summary refs log tree commit diff
path: root/src/timeline/TimelineModel.cpp
diff options
context:
space:
mode:
authorCH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com>2020-09-03 09:29:32 +0530
committerCH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com>2020-09-03 09:37:16 +0530
commit5358854de37fcf51c5d24f022b231da17f3b85c7 (patch)
tree50cd2c5aecc872b850ac07d2080d7fa223c4da5c /src/timeline/TimelineModel.cpp
parentFix catch by value warning (diff)
downloadnheko-5358854de37fcf51c5d24f022b231da17f3b85c7.tar.xz
Add support for Encrypted to-device verification messages
Diffstat (limited to '')
-rw-r--r--src/timeline/TimelineModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp

index aea2645a..8f0e470e 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp
@@ -879,7 +879,7 @@ TimelineModel::sendEncryptedMessage(mtx::events::RoomEvent<T> msg, mtx::events:: using namespace mtx::identifiers; json doc = {{"type", mtx::events::to_string(eventType)}, - {"content", msg.content}, + {"content", json(msg.content)}, {"room_id", room_id}}; try {