diff --git a/Chat.go b/Chat.go index 4174b6c..00b4c61 100644 --- a/Chat.go +++ b/Chat.go @@ -511,8 +511,8 @@ func EditMessageHandler(c *fiber.Ctx) error { func ClearChatHandler(c *fiber.Ctx) error { // Delete the default conversation err := edgeClient.Execute(edgeCtx, ` - DELETE Conversation - FILTER .user = global currentUser AND .name = "Default"; + DELETE Area + FILTER .conversation = global currentConversation; `) if err != nil { panic(err)