Send a notice when initial sync is done

This commit is contained in:
emerson 2021-12-07 11:12:25 -05:00
parent 5b195d4de3
commit f286fd93c7
No known key found for this signature in database
GPG key ID: 270669502DA603E3

View file

@ -207,6 +207,7 @@ export class Client {
if (this.user === null)
return;
this.user.nextBatch = data.next_batch;
this.sendMessage(this.server.name, 'NOTICE', [this.user.nick, 'You are now synced to the network!'], message.tags);
this.user.addClient(this, message.tags);
})
}