Changeset 448 in code for trunk/downstream.go


Ignore:
Timestamp:
Jan 31, 2021, 9:18:51 PM (4 years ago)
Author:
hubert
Message:

Request invite-notify to upstreams

... and do not forward INVITEs to downstreams that do not support the
capability.

The downstream capability can be permanent because there is no way for a
client to get the list of people invited to a channel, thus no state can
be corrupted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/downstream.go

    r447 r448  
    6565// capabilities.
    6666var permanentDownstreamCaps = map[string]string{
    67         "batch":        "",
    68         "cap-notify":   "",
    69         "echo-message": "",
    70         "message-tags": "",
    71         "sasl":         "PLAIN",
    72         "server-time":  "",
     67        "batch":         "",
     68        "cap-notify":    "",
     69        "echo-message":  "",
     70        "invite-notify": "",
     71        "message-tags":  "",
     72        "sasl":          "PLAIN",
     73        "server-time":   "",
    7374}
    7475
Note: See TracChangeset for help on using the changeset viewer.