Changeset 725 in code for trunk/downstream.go
- Timestamp:
- Nov 21, 2021, 3:28:38 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/downstream.go
r724 r725 191 191 "invite-notify": "", 192 192 "message-tags": "", 193 "sasl": "PLAIN",194 193 "server-time": "", 195 194 "setname": "", … … 300 299 dc.supportedCaps[k] = v 301 300 } 301 dc.supportedCaps["sasl"] = "PLAIN" 302 302 // TODO: this is racy, we should only enable chathistory after 303 303 // authentication and then check that user.msgStore implements … … 1037 1037 dc.unsetSupportedCap(cap) 1038 1038 } 1039 } 1040 1041 if uc := dc.upstream(); uc != nil && uc.supportsSASL("PLAIN") { 1042 dc.setSupportedCap("sasl", "PLAIN") 1043 } else if dc.network != nil { 1044 dc.unsetSupportedCap("sasl") 1039 1045 } 1040 1046
Note:
See TracChangeset
for help on using the changeset viewer.