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 {
// 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)