Add support for the soju.im/bouncer-networks-notify cap
This commit is contained in:
@@ -308,6 +308,10 @@ export default class Client extends EventTarget {
|
||||
capEnd = false;
|
||||
}
|
||||
|
||||
if (!this.params.bouncerNetwork && this.availableCaps["soju.im/bouncer-networks-notify"] !== undefined) {
|
||||
reqCaps.push("soju.im/bouncer-networks-notify");
|
||||
}
|
||||
|
||||
this.requestCaps(reqCaps);
|
||||
|
||||
if (this.status != Client.Status.REGISTERED && capEnd) {
|
||||
|
||||
Reference in New Issue
Block a user