소스 검색

File are now managed by slack by an array

isundil 6 년 전
부모
커밋
a5cf6f6d94
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      srv/src/slackHistory.js

+ 2 - 0
srv/src/slackHistory.js

@@ -56,8 +56,10 @@ SlackHistory.prototype.messageFactory = function(ev, ts) {
                 ev["attachments"].push({
                     "image_url": imgUrl
                 });
+                return;
             }
         }
+        // FIXME manage uploads that are not images
     });
     if (!ev["user"]) {
         if (ev["bot_id"])