|
|
@ -129,16 +129,29 @@ bridge:
|
|
|
|
# the bridge was disconnected.
|
|
|
|
# the bridge was disconnected.
|
|
|
|
# Set to 0 to disable backfilling missed messages.
|
|
|
|
# Set to 0 to disable backfilling missed messages.
|
|
|
|
missed_limit: 1000
|
|
|
|
missed_limit: 1000
|
|
|
|
# Interval in seconds in which to automatically reconnect all users.
|
|
|
|
# If using double puppeting, should notifications be disabled
|
|
|
|
# This can be used to automatically mitigate the bug where Facebook stops sending messages.
|
|
|
|
# while the initial backfill is in progress?
|
|
|
|
# Set to -1 to disable periodic reconnections entirely.
|
|
|
|
disable_notifications: false
|
|
|
|
periodic_reconnect_interval: -1
|
|
|
|
periodic_reconnect:
|
|
|
|
# What to do in periodic reconnects. Either "refresh" or "reconnect"
|
|
|
|
# Interval in seconds in which to automatically reconnect all users.
|
|
|
|
periodic_reconnect_mode: refresh
|
|
|
|
# This can be used to automatically mitigate the bug where Facebook stops sending messages.
|
|
|
|
|
|
|
|
# Set to -1 to disable periodic reconnections entirely.
|
|
|
|
|
|
|
|
interval: -1
|
|
|
|
|
|
|
|
# What to do in periodic reconnects. Either "refresh" or "reconnect"
|
|
|
|
|
|
|
|
mode: refresh
|
|
|
|
|
|
|
|
# Should even disconnected users be reconnected?
|
|
|
|
|
|
|
|
always: false
|
|
|
|
# The number of seconds that a disconnection can last without triggering an automatic re-sync
|
|
|
|
# The number of seconds that a disconnection can last without triggering an automatic re-sync
|
|
|
|
# and missed message backfilling when reconnecting.
|
|
|
|
# and missed message backfilling when reconnecting.
|
|
|
|
# Set to 0 to always re-sync, or -1 to never re-sync automatically.
|
|
|
|
# Set to 0 to always re-sync, or -1 to never re-sync automatically.
|
|
|
|
resync_max_disconnected_time: 5
|
|
|
|
resync_max_disconnected_time: 5
|
|
|
|
|
|
|
|
# Whether or not temporary disconnections should send notices to the notice room.
|
|
|
|
|
|
|
|
# If this is false, disconnections will never send messages and connections will only send
|
|
|
|
|
|
|
|
# messages if it was disconnected for more than resync_max_disconnected_time seconds.
|
|
|
|
|
|
|
|
temporary_disconnect_notices: true
|
|
|
|
|
|
|
|
# Whether or not the bridge should try to "refresh" the connection if a normal reconnection
|
|
|
|
|
|
|
|
# attempt fails.
|
|
|
|
|
|
|
|
refresh_on_reconnection_fail: false
|
|
|
|
|
|
|
|
|
|
|
|
# Permissions for using the bridge.
|
|
|
|
# Permissions for using the bridge.
|
|
|
|
# Permitted values:
|
|
|
|
# Permitted values:
|
|
|
|