diff options
author | Gary Kim <gary@garykim.dev> | 2021-06-01 17:17:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-01 23:17:07 +0200 |
commit | 1d50da4b1c43273ab2dc8c47829e03f5f6981f92 (patch) | |
tree | c99fbf0d82b335fd298703f33ace3cb7f0f37742 /vendor/gomod.garykim.dev/nc-talk/ocs/capabilities.go | |
parent | c7897cca5d61bbe3579403fbbef62c0d70779876 (diff) | |
download | matterbridge-msglm-1d50da4b1c43273ab2dc8c47829e03f5f6981f92.tar.gz matterbridge-msglm-1d50da4b1c43273ab2dc8c47829e03f5f6981f92.tar.bz2 matterbridge-msglm-1d50da4b1c43273ab2dc8c47829e03f5f6981f92.zip |
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>
Diffstat (limited to 'vendor/gomod.garykim.dev/nc-talk/ocs/capabilities.go')
-rw-r--r-- | vendor/gomod.garykim.dev/nc-talk/ocs/capabilities.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vendor/gomod.garykim.dev/nc-talk/ocs/capabilities.go b/vendor/gomod.garykim.dev/nc-talk/ocs/capabilities.go index 4dbaa735..8b2919fc 100644 --- a/vendor/gomod.garykim.dev/nc-talk/ocs/capabilities.go +++ b/vendor/gomod.garykim.dev/nc-talk/ocs/capabilities.go @@ -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"` } |