Add option to disable removing avatars from Telegram ghosts

There's no way to determine whether an avatar is removed or just hidden
from some users, so avatars are not removed by default.
This commit is contained in:
Tulir Asokan
2020-05-29 15:27:36 +03:00
parent fb1ab220ff
commit 35da8df526
4 changed files with 11 additions and 2 deletions
+4
View File
@@ -121,6 +121,10 @@ bridge:
- phone number
# Maximum length of displayname
displayname_max_length: 100
# Remove avatars from Telegram ghost users when removed on Telegram. This is disabled by default
# as there's no way to determine whether an avatar is removed or just hidden from some users. If
# you're on a single-user instance, this should be safe to enable.
allow_avatar_remove: false
# Maximum number of members to sync per portal when starting up. Other members will be
# synced when they send messages. The maximum is 10000, after which the Telegram server