pleroma/lib
Haelwenn (lanodan) Monnier 11844084d0
MIME.valid?(type) → is_bitstring(type) && MIME.extensions(type) != []
Since mime 1.6.0:

  warning: MIME.valid?/1 is deprecated. Use MIME.extensions(type) != [] instead

As for the bitstring(type) part it's because MIME.extensions only expects a string.
https://github.com/elixir-plug/mime/issues/43
2021-06-03 19:11:17 +02:00
..
mix suggestion 2021-03-23 17:27:02 +03:00
phoenix/transports/web_socket
pleroma MIME.valid?(type) → is_bitstring(type) && MIME.extensions(type) != [] 2021-06-03 19:11:17 +02:00