store: use lower-case for buffer keys

This commit is contained in:
Simon Ser 2022-04-22 12:04:11 +02:00
parent cdd2da90a9
commit aaef4e1629

View file

@ -57,11 +57,12 @@ export class Buffer {
}
key(buf) {
// TODO: use case-mapping here somehow
return JSON.stringify({
name: buf.name,
name: buf.name.toLowerCase(),
server: {
url: buf.server.url,
nick: buf.server.nick,
nick: buf.server.nick.toLowerCase(),
bouncerNetwork: buf.server.bouncerNetwork,
},
});