Fetch read marker before backlog for user targets

This commit is contained in:
Simon Ser 2022-09-03 14:31:56 +02:00
parent e7b69cec9a
commit 4780b9c709
2 changed files with 11 additions and 0 deletions

View file

@ -720,6 +720,11 @@ export default class Client extends EventTarget {
return chanTypes.indexOf(name[0]) >= 0;
}
isNick(name) {
// A dollar sign is used for server-wide broadcasts
return !this.isServer(name) && !this.isChannel(name) && !name.startsWith('$');
}
setPingInterval(sec) {
clearInterval(this.pingIntervalID);
this.pingIntervalID = null;