From 2f77b19e9d185c8f829e333bae8c95b6771b8756 Mon Sep 17 00:00:00 2001 From: RootOperator <20143055+RootOperator@users.noreply.github.com> Date: Tue, 25 Jun 2024 22:29:48 +0200 Subject: [PATCH] fix: Authorization Failure (#60) Fixes: jiriks74/presence.nvim#59 --- lua/presence/discord.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/presence/discord.lua b/lua/presence/discord.lua index 6ab2f55..f8697fe 100644 --- a/lua/presence/discord.lua +++ b/lua/presence/discord.lua @@ -142,6 +142,7 @@ function Discord:authorize(on_authorize) local payload = { client_id = self.client_id, v = 1, + nonce = "initial-ready", } self:call(self.opcodes.auth, payload, on_authorize)