automatically ignore known forwarded addresses, fixes #64
This commit is contained in:
13
vendor/maunium.net/go/mautrix/requests.go
generated
vendored
13
vendor/maunium.net/go/mautrix/requests.go
generated
vendored
@@ -23,6 +23,8 @@ const (
|
||||
AuthTypeAppservice AuthType = "m.login.application_service"
|
||||
|
||||
AuthTypeSynapseJWT AuthType = "org.matrix.login.jwt"
|
||||
|
||||
AuthTypeDevtureSharedSecret AuthType = "com.devture.shared_secret_auth"
|
||||
)
|
||||
|
||||
type IdentifierType string
|
||||
@@ -331,6 +333,7 @@ type ReqPutPushRule struct {
|
||||
Pattern string `json:"pattern"`
|
||||
}
|
||||
|
||||
// Deprecated: MSC2716 was abandoned
|
||||
type ReqBatchSend struct {
|
||||
PrevEventID id.EventID `json:"-"`
|
||||
BatchID id.BatchID `json:"-"`
|
||||
@@ -342,6 +345,16 @@ type ReqBatchSend struct {
|
||||
Events []*event.Event `json:"events"`
|
||||
}
|
||||
|
||||
type ReqBeeperBatchSend struct {
|
||||
// ForwardIfNoMessages should be set to true if the batch should be forward
|
||||
// backfilled if there are no messages currently in the room.
|
||||
ForwardIfNoMessages bool `json:"forward_if_no_messages"`
|
||||
Forward bool `json:"forward"`
|
||||
SendNotification bool `json:"send_notification"`
|
||||
MarkReadBy id.UserID `json:"mark_read_by,omitempty"`
|
||||
Events []*event.Event `json:"events"`
|
||||
}
|
||||
|
||||
type ReqSetReadMarkers struct {
|
||||
Read id.EventID `json:"m.read,omitempty"`
|
||||
ReadPrivate id.EventID `json:"m.read.private,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user