Add vendor prefix to bouncer-networks BATCH type

This commit is contained in:
Simon Ser 2021-05-25 17:03:29 +02:00
parent 1b21f5f076
commit 9dba1b3736

View file

@ -478,7 +478,7 @@ export default class Client extends EventTarget {
}
var req = { command: "BOUNCER", params: ["LISTNETWORKS"] };
return this.fetchBatch(req, "bouncer-networks").then((batch) => {
return this.fetchBatch(req, "soju.im/bouncer-networks").then((batch) => {
var networks = new Map();
for (var msg of batch.messages) {
console.assert(msg.command === "BOUNCER" && msg.params[0] === "NETWORK");