Add support for the soju.im/bouncer-networks-notify cap

This commit is contained in:
Simon Ser committed 2021-05-25 17:01:20 +02:00
1 parent 94fba920cd
commit 6524dc5dd2
2 files changed
+50 -19

No files matched your search

+4
View File
@@ -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) {