mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-09-11 00:42:30 +00:00
Add support for message deletion (nctalk) (#1492)
* nctalk: add message deletion support Signed-off-by: Gary Kim <gary@garykim.dev> * nctalk: seperate out deletion and sending logic Signed-off-by: Gary Kim <gary@garykim.dev> * nctalk: update library to v0.2.0 Signed-off-by: Gary Kim <gary@garykim.dev> * Rename functions to be clearer Signed-off-by: Gary Kim <gary@garykim.dev> * Update to go-nc-talk v0.2.1 Signed-off-by: Gary Kim <gary@garykim.dev> * Update to go-nc-talk v0.2.2 Signed-off-by: Gary Kim <gary@garykim.dev> * Make deletions easier to debug Signed-off-by: Gary Kim <gary@garykim.dev>
This commit is contained in:
@@ -33,10 +33,14 @@ type SpreedCapabilities struct {
|
||||
Folder string `json:"folder"`
|
||||
} `json:"attachments"`
|
||||
Chat struct {
|
||||
MaxLength int `json:"max-length"`
|
||||
MaxLength int `json:"max-length"`
|
||||
ReadPrivacy int `json:"read-privacy"`
|
||||
} `json:"chat"`
|
||||
Conversations struct {
|
||||
CanCreate bool `json:"can-create"`
|
||||
} `json:"conversations"`
|
||||
Previews struct {
|
||||
MaxGifSize int `json:"max-gif-size"`
|
||||
} `json:"previews"`
|
||||
} `json:"config"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user