Fix reactions
This commit is contained in:
parent
6f2bc908ba
commit
19f27236ea
12 changed files with 89 additions and 48 deletions
|
|
@ -1069,8 +1069,9 @@ struct SendMessageVisitor
|
|||
// reactions need to have the relation outside of ciphertext, or synapse / the homeserver
|
||||
// cannot handle it correctly. See the MSC for more details:
|
||||
// https://github.com/matrix-org/matrix-doc/blob/matthew/msc1849/proposals/1849-aggregations.md#end-to-end-encryption
|
||||
void operator()(const mtx::events::RoomEvent<mtx::events::msg::Reaction> &msg)
|
||||
void operator()(mtx::events::RoomEvent<mtx::events::msg::Reaction> msg)
|
||||
{
|
||||
msg.type = mtx::events::EventType::Reaction;
|
||||
emit model_->addPendingMessageToStore(msg);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue