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 {
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user