Linkify already existing portal error message in pm command
This commit is contained in:
parent
7dc4632cd4
commit
07927741bf
1 changed files with 1 additions and 1 deletions
|
@ -763,7 +763,7 @@ func (handler *CommandHandler) CommandPM(ce *CommandEvent) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
portal.log.Warnfln("Failed to invite %s to portal: %v. Creating new portal", user.MXID, err)
|
portal.log.Warnfln("Failed to invite %s to portal: %v. Creating new portal", user.MXID, err)
|
||||||
} else {
|
} else {
|
||||||
ce.Reply("You already have a private chat portal with that user at %s", portal.MXID)
|
ce.Reply("You already have a private chat portal with that user at [%s](https://matrix.to/#/%s)", puppet.Displayname, portal.MXID)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue