Selaa lähdekoodia

File are now managed by slack by an array

isundil 6 vuotta sitten
vanhempi
commit
a5cf6f6d94
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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"])