mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
matrix: end-to-end encryption by default
Existing chats will remain unencrypted but new ones will be.
This commit is contained in:
2
email.go
2
email.go
@@ -819,7 +819,7 @@ func (app *appContext) sendByID(email *Message, ID ...string) error {
|
||||
}
|
||||
}
|
||||
if mxChat, ok := app.storage.matrix[id]; ok && mxChat.Contact && matrixEnabled {
|
||||
err = app.matrix.Send(email, mxChat.RoomID)
|
||||
err = app.matrix.Send(email, mxChat)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user