This commit is contained in:
Adrien Bouvais 2024-05-25 18:17:02 +02:00
parent fc7f316cc9
commit fba777ef35

View File

@ -511,8 +511,8 @@ func EditMessageHandler(c *fiber.Ctx) error {
func ClearChatHandler(c *fiber.Ctx) error { func ClearChatHandler(c *fiber.Ctx) error {
// Delete the default conversation // Delete the default conversation
err := edgeClient.Execute(edgeCtx, ` err := edgeClient.Execute(edgeCtx, `
DELETE Conversation DELETE Area
FILTER .user = global currentUser AND .name = "Default"; FILTER .conversation = global currentConversation;
`) `)
if err != nil { if err != nil {
panic(err) panic(err)