fix
This commit is contained in:
parent
fc7f316cc9
commit
fba777ef35
4
Chat.go
4
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user