mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-15 00:47:46 +01:00
Add vendor prefix to bouncer-networks BATCH type
This commit is contained in:
parent
1b21f5f076
commit
9dba1b3736
@ -478,7 +478,7 @@ export default class Client extends EventTarget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var req = { command: "BOUNCER", params: ["LISTNETWORKS"] };
|
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();
|
var networks = new Map();
|
||||||
for (var msg of batch.messages) {
|
for (var msg of batch.messages) {
|
||||||
console.assert(msg.command === "BOUNCER" && msg.params[0] === "NETWORK");
|
console.assert(msg.command === "BOUNCER" && msg.params[0] === "NETWORK");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user