From f286fd93c7fe34d6ff5c5ef21e5ecc83df376659 Mon Sep 17 00:00:00 2001 From: emerson Date: Tue, 7 Dec 2021 11:12:25 -0500 Subject: [PATCH] Send a notice when initial sync is done --- src/Client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Client.ts b/src/Client.ts index 81c0fa9..44d7d66 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -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); }) }