1
0
Эх сурвалжийг харах

File are now managed by slack by an array

isundil 6 жил өмнө
parent
commit
a5cf6f6d94

+ 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"])