Pleroma v1.1.9-10-g42f76306+dev Pleroma.Emoji View Source
The emojis are loaded from:
- emoji packs in INSTANCE-DIR/emoji
- the files:
config/emoji.txt
andconfig/custom_emoji.txt
- glob paths, nested folder is used as tag name for grouping e.g. priv/static/emoji/custom/nested_folder
This GenServer stores in an ETS table the list of the loaded emojis, and also allows to reload the list at runtime.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Returns the path of the emoji name
.
Returns all the emojos!!
Finds a matching group for the given emoji filename
Reloads the emojis from disk.
Link to this section Types
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Returns the path of the emoji name
.
Returns all the emojos!!
Link to this function
match_extra(group_patterns, filename)
View Sourcematch_extra(group_patterns(), String.t()) :: atom() | nil
Finds a matching group for the given emoji filename
Reloads the emojis from disk.