mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
event,requests: add MSC4293 redact events field to member events
This commit is contained in:
parent
15d0b63eb6
commit
b8921397b8
2 changed files with 4 additions and 0 deletions
|
|
@ -42,6 +42,8 @@ type MemberEventContent struct {
|
|||
ThirdPartyInvite *ThirdPartyInvite `json:"third_party_invite,omitempty"`
|
||||
Reason string `json:"reason,omitempty"`
|
||||
MSC3414File *EncryptedFileInfo `json:"org.matrix.msc3414.file,omitempty"`
|
||||
|
||||
MSC4293RedactEvents bool `json:"org.matrix.msc4293.redact_events,omitempty"`
|
||||
}
|
||||
|
||||
type ThirdPartyInvite struct {
|
||||
|
|
|
|||
|
|
@ -193,6 +193,8 @@ type ReqKickUser struct {
|
|||
type ReqBanUser struct {
|
||||
Reason string `json:"reason,omitempty"`
|
||||
UserID id.UserID `json:"user_id"`
|
||||
|
||||
MSC4293RedactEvents bool `json:"org.matrix.msc4293.redact_events,omitempty"`
|
||||
}
|
||||
|
||||
// ReqUnbanUser is the JSON request for https://spec.matrix.org/v1.2/client-server-api/#post_matrixclientv3roomsroomidunban
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue