From c65de5edf3ad83a2c5a155ad718fe47df83f964e Mon Sep 17 00:00:00 2001 From: Adrien Date: Fri, 31 May 2024 22:00:47 +0200 Subject: [PATCH] fix --- Chat.go | 4 ++-- views/partials/popover-conversation.html | 28 ++++++++++++++++-------- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/Chat.go b/Chat.go index d54c19e..afd10b4 100644 --- a/Chat.go +++ b/Chat.go @@ -932,7 +932,7 @@ func ArchiveDefaultConversationHandler(c *fiber.Ctx) error { UPDATE Conversation FILTER .user = global currentUser AND .name = 'Default' SET { - name = $0 + name := $0 }; `, name) if err != nil { @@ -957,5 +957,5 @@ func ArchiveDefaultConversationHandler(c *fiber.Ctx) error { panic(err) } - return c.SendString(generateChatHTML()) + return c.SendString(GenerateConversationPopoverHTML(true)) } diff --git a/views/partials/popover-conversation.html b/views/partials/popover-conversation.html index ce58f8c..92816c3 100644 --- a/views/partials/popover-conversation.html +++ b/views/partials/popover-conversation.html @@ -23,16 +23,16 @@ -
- -
\ No newline at end of file