mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
store: use lower-case for buffer keys
This commit is contained in:
parent
cdd2da90a9
commit
aaef4e1629
1 changed files with 3 additions and 2 deletions
5
store.js
5
store.js
|
@ -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,
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue