From 07927741bff689a9d3ffc37ce453ad36d9e2ee8f Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 5 Jul 2020 19:41:28 +0300 Subject: [PATCH] Linkify already existing portal error message in pm command --- commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.go b/commands.go index a16848a..9548271 100644 --- a/commands.go +++ b/commands.go @@ -763,7 +763,7 @@ func (handler *CommandHandler) CommandPM(ce *CommandEvent) { if err != nil { portal.log.Warnfln("Failed to invite %s to portal: %v. Creating new portal", user.MXID, err) } 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 } }