瀏覽代碼

use app:title for username to notify

Yuki Takei 8 年之前
父節點
當前提交
446a47c40d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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],
     };