Переглянути джерело

Deleted previous Peertube fix, as it's worse.

grunfink 2 тижнів тому
батько
коміт
b987757ecf
1 змінених файлів з 0 додано та 9 видалено
  1. 0 9
      activitypub.c

+ 0 - 9
activitypub.c

@@ -390,15 +390,6 @@ xs_list *get_attachments(const xs_dict *msg)
                             }
                         }
                     }
-                    else
-                    if (xs_is_string(mtype) && strcmp(mtype, "video/mp4") == 0) {
-                        const char *h = xs_dict_get(v, "href");
-
-                        if (xs_is_string(h)) {
-                            href = xs_dict_get(v, "href");
-                            type = mtype;
-                        }
-                    }
                 }
             }
         }