fix(cmd): bad scheme on response

This commit is contained in:
vulet 2019-09-05 20:40:36 -04:00
parent 8bc1d6966a
commit 531c22205a
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ exports.runQuery = function (matrixClient, room, userInput, registrar) {
matrixClient.sendHtmlNotice(room.roomId, matrixClient.sendHtmlNotice(room.roomId,
'', '',
`Pinned: `Pinned:
<blockquote>${registrar.config.fediverse}/${userInput}`); <blockquote>${registrar.config.fediverse}/notice/${userInput}`);
}) })
.catch((e) => { .catch((e) => {
matrixClient.sendHtmlNotice(room.roomId, matrixClient.sendHtmlNotice(room.roomId,

View file

@ -9,7 +9,7 @@ exports.runQuery = function (matrixClient, room, userInput, registrar) {
matrixClient.sendHtmlNotice(room.roomId, matrixClient.sendHtmlNotice(room.roomId,
'', '',
`Unpinned: `Unpinned:
<blockquote>${registrar.config.fediverse}/${userInput}`); <blockquote>${registrar.config.fediverse}/notice/${userInput}`);
}) })
.catch((e) => { .catch((e) => {
matrixClient.sendHtmlNotice(room.roomId, matrixClient.sendHtmlNotice(room.roomId,