Add support for Encrypted to-device verification messages
This commit is contained in:
parent
10f09d4f43
commit
5358854de3
3 changed files with 47 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue