app/matrix/appservice-irc: add ignoreIdleUsersOnStartup option

This should alleviate an issue of people getting joining and immediately
getting dropped off due to client limit on bridge restarts.

Change-Id: Ideb13ba9930d565ede728d2750d0c7af04746cf1
master
informatic 2021-02-13 19:57:18 +01:00
parent 32d3eaac01
commit 3d5bb6f2e9
1 changed files with 10 additions and 0 deletions

View File

@ -239,6 +239,16 @@ ircService:
# initial: false
# incremental: false
# Should the bridge ignore users which are not considered active on the bridge
# during startup
ignoreIdleUsersOnStartup:
enabled: true
# How many hours can a user be considered idle for before they are considered
# ignoreable
idleForHours: 72
# A regex which will exclude matching MXIDs from this check.
# exclude: "foobar"
#mappings:
# 1:many mappings from IRC channels to room IDs on this IRC server.
# The matrix room must already exist. Your matrix client should expose