sou 7 лет назад
Родитель
Сommit
363bf09a6e
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      lib/util/slack.js

+ 3 - 0
lib/util/slack.js

@@ -134,6 +134,9 @@ module.exports = function(crowi) {
     if (updateType == 'create') {
       text = `:white_check_mark: ${user.username} created a new page! ${pageUrl}`;
     }
+    else if (updateType == 'comment') {
+      text = `:speech_balloon: ${user.username} commented on ${pageUrl}`;
+    }
     else {
       text = `:up: ${user.username} updated ${pageUrl}`;
     }