summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlja <ilja@ilja.space>2022-05-21 11:31:14 +0200
committerIlja <ilja@ilja.space>2022-07-01 12:15:02 +0200
commit8c761942b1963bff08d98eeb22b84b0f327d68e4 (patch)
treef56c983e9ccbdae679d07f55da0e5c48330065ea
parent4a9ed319b8916500bcb7b8e7c319fea9acdf95dc (diff)
update moduledoc
-rw-r--r--lib/pleroma/upload/filter/exiftool/read_description.ex6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pleroma/upload/filter/exiftool/read_description.ex b/lib/pleroma/upload/filter/exiftool/read_description.ex
index 3f7b7c798..a69f79124 100644
--- a/lib/pleroma/upload/filter/exiftool/read_description.ex
+++ b/lib/pleroma/upload/filter/exiftool/read_description.ex
@@ -4,9 +4,9 @@
defmodule Pleroma.Upload.Filter.Exiftool.ReadDescription do
@moduledoc """
- Gets the description from the related EXIF tags and provides them in the response if no description is provided yet.
- It will first check ImageDescription, when that's too long or empty, it will check iptc:Caption-Abstract.
- When the description is too long (see `:instance, :description_limit`), an empty string is returned.
+ Gets a valid description from the related EXIF tags and provides them in the response if no description is provided yet.
+ It will first check ImageDescription, when that doesn't probide a valid description, it will check iptc:Caption-Abstract.
+ A valid description means the fields are filled in and not too long (see `:instance, :description_limit`).
"""
@behaviour Pleroma.Upload.Filter