diff --git a/Settings.md b/Settings.md index e985f58..439ee6a 100644 --- a/Settings.md +++ b/Settings.md @@ -15,6 +15,7 @@ - [ShowTopicChange](#showtopicchange) - [SkipTLSVerify](#skiptlsverify) - [StripNick](#stripnick) + - [UseLocalAvatar](#uselocalavatar) - [General](#general) - [IgnoreFailureOnStart](#ignorefailureonstart) - [MediaDownloadBlacklist](#mediadownloadblacklist) @@ -36,6 +37,7 @@ - [WebhookURL](#webhookurl) - [EditDisable](#editdisable-1) - [EditSuffix](#editsuffix-1) + - [UseLocalAvatar](#uselocalavatar-1) - [Gitter](#gitter) - [Token *](#token--1) - [IRC](#irc) @@ -294,6 +296,18 @@ Example: enable it `StripNick=true` +## UseLocalAvatar + +UseLocalAvatar specifies source bridges for which an avatar should be 'guessed' when an incoming message has no avatar. This works by comparing the username of the message to an existing Discord user, and using the avatar of the Discord user. (Substitute "Discord" with another platform, if used on another platform.) + +On Discord, this only works if `WebhookURL` is set (AND the message has no avatar). + +At the moment, this setting is only available for Discord. + +Setting: OPTIONAL, RELOADABLE +Format: `["gateway.account1", "gateway.account2", "gateway"]` +Example: `["irc"]` - this example will guess the avatar coming from the `irc` platform + # General Configuration that can be set under `[general]` @@ -474,6 +488,9 @@ See [EditDisable](#EditDisable) See [EditSuffix](#EditSuffix) +## UseLocalAvatar + +See [UseLocalAvatar](#UseLocalAvatar) # Gitter Basic config on https://github.com/42wim/matterbridge/wiki/Section-Gitter-(basic)