Linkify already existing portal error message in pm command

This commit is contained in:
Tulir Asokan 2020-07-05 19:41:28 +03:00
parent 7dc4632cd4
commit 07927741bf

View file

@ -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
} }
} }