mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
bridgev2/commands: fix pm command not starting chat
Some checks failed
Some checks failed
This commit is contained in:
parent
bfa32f375f
commit
933daead3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue