Browse Source

use app:title for username to notify

Yuki Takei 8 years ago
parent
commit
446a47c40d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/util/slack.js

+ 1 - 1
lib/util/slack.js

@@ -206,7 +206,7 @@ module.exports = function(crowi) {
 
     var message = {
       channel: '#' + channel,
-      username: 'Crowi',
+      username: config.crowi['app:title'],
       text: this.getSlackMessageText(page.path, user, updateType),
       attachments: [attachment],
     };