From 933daead3b3471a958bc2d5b262faa8d7ed66707 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 5 Dec 2024 14:24:54 +0200 Subject: [PATCH] bridgev2/commands: fix pm command not starting chat --- bridgev2/commands/startchat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridgev2/commands/startchat.go b/bridgev2/commands/startchat.go index 42f528b0..aa766c0e 100644 --- a/bridgev2/commands/startchat.go +++ b/bridgev2/commands/startchat.go @@ -85,7 +85,7 @@ func fnResolveIdentifier(ce *Event) { if api == nil { return } - createChat := ce.Command == "start-chat" + createChat := ce.Command == "start-chat" || ce.Command == "pm" identifier := strings.Join(identifierParts, " ") resp, err := api.ResolveIdentifier(ce.Ctx, identifier, createChat) if err != nil {