Mark private chat as direct
That means direct as in direct messaging. See also: - https://matrix.org/docs/spec/client_server/latest#post-matrix-client-r0-createroom - https://matrix.org/docs/spec/client_server/latest#module-dm - https://godoc.org/maunium.net/go/mautrix#ReqCreateRoom fixes #259
This commit is contained in:
parent
4338c5a6ef
commit
b7966b5d4e
@ -552,6 +552,7 @@ func cmdPrivateMessage(cmd *Command) {
|
||||
req := &mautrix.ReqCreateRoom{
|
||||
Preset: "trusted_private_chat",
|
||||
Invite: invites,
|
||||
IsDirect: true,
|
||||
}
|
||||
room, err := cmd.Matrix.CreateRoom(req)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user