mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Fix github issue text
This commit is contained in:
parent
b7f544dccd
commit
33f9008513
@ -288,7 +288,7 @@ export class GitHubRepoConnection implements IConnection {
|
|||||||
}
|
}
|
||||||
const orgRepoName = event.repository.full_name;
|
const orgRepoName = event.repository.full_name;
|
||||||
|
|
||||||
const content = emoji.emojify(`${event.issue.user?.login} created a new JIRA issue [${orgRepoName}#${event.issue.number}](${event.issue}): "${event.issue.title}"`);
|
const content = emoji.emojify(`${event.issue.user?.login} created new issue [${orgRepoName}#${event.issue.number}](${event.issue}): "${event.issue.title}"`);
|
||||||
const { labelsHtml, labelsStr } = FormatUtil.formatLabels(event.issue.labels);
|
const { labelsHtml, labelsStr } = FormatUtil.formatLabels(event.issue.labels);
|
||||||
await this.as.botIntent.sendEvent(this.roomId, {
|
await this.as.botIntent.sendEvent(this.roomId, {
|
||||||
msgtype: "m.notice",
|
msgtype: "m.notice",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user