diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2023-08-03 00:08:06 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2023-08-03 00:08:06 +0300 |
commit | c03ccfdfb713d4fcb089600d9fd91f03e469daca (patch) | |
tree | d759d1fe9b227f3f2887411d579c51561996c0e9 /telegram/commands.go | |
parent | 608f67551297a14e2e23603413bbce66f6ad5cd9 (diff) |
Support urn:xmpp:privilege:2v1.7.4
Diffstat (limited to 'telegram/commands.go')
-rw-r--r-- | telegram/commands.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram/commands.go b/telegram/commands.go index 206e049..0c83945 100644 --- a/telegram/commands.go +++ b/telegram/commands.go @@ -384,7 +384,7 @@ func (c *Client) ProcessTransportCommand(cmdline string, resource string) string } case "config": if len(args) > 1 { - if !gateway.MessageOutgoingPermission && args[0] == "carbons" && args[1] == "true" { + if gateway.MessageOutgoingPermissionVersion == 0 && args[0] == "carbons" && args[1] == "true" { return "The server did not allow to enable carbons" } |