diff --git a/gitea-rocketchat.hooks.js b/gitea-rocketchat.hooks.js index 125a678..bf47b2a 100644 --- a/gitea-rocketchat.hooks.js +++ b/gitea-rocketchat.hooks.js @@ -100,9 +100,10 @@ const giteaEvents = { for (var i = 0; i < commits.length; i++) { var commit = commits[i]; var shortID = commit.id.substring(0, 7); - output = '[#' + shortID + '](' + commit.url + '): \n' + commit.message attachment.fields.push({ - value: output, + short: false, + title: '[#' + shortID + '](' + commit.url + '): \n', + value: commit.message, }); }