Skip to content

Metadata

R3d edited this page Dec 2, 2026 · 1 revision

Metadata

IRCv3 metadata settings.

Metadata support depends on the server advertising the draft/metadata-2 capability.

Note

For configuring your own metadata values, see servers.<name>.metadata.

For configuring how the metadata keys are displayed, see display.nickname, display.nicklist_nickname, and display.adapt_metadata_colors.

preferred_keys

Metadata keys to subscribe to, in order of preference.

# Type: array of strings
# Values: "display-name", "avatar", "pronouns", "homepage", "color", "status"
# Default: ["display-name", "avatar", "pronouns", "homepage", "color", "status"]

[metadata]
preferred_keys = ["display-name", "avatar", "pronouns", "homepage", "color", "status"]

avatar

Avatar settings.

enabled

Enable or disable loading avatars.

# Type: boolean
# Values: true, false
# Default: true

[metadata.avatar]
enabled = true

size

Avatar width and height in pixels.

# Type: integer
# Values: positive integers
# Default: 64

[metadata.avatar]
size = 64

exclude

Exclude avatar URLs from loading by providing regex patterns.

# Type: array of strings
# Values: array of regex patterns
# Default: []

[metadata.avatar]
exclude = []

Prevent avatars from loading for matching URLs:

Tip

Use toml multi-line literal strings '''\bfoo'd\b''' when writing a regex. This allows you to write the regex without escaping. You can also use a literal string '\bfoo\b', but then you can't use ' inside the string.

Without literal strings, you'd have to write the above as "\\bfoo'd\\b"

[metadata.avatar]
exclude = [
    '''https?://(www\.)?example\.com/.*''',
]

Clone this wiki locally