Add support for the soju.im/bouncer-networks-notify cap
This commit is contained in:
1 parent
94fba920cd
commit
6524dc5dd2
2 files changed
+50
-19
No files matched your search
@@ -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