1
0
Fork 0
mirror of https://codeberg.org/june64/mrvc.git synced 2026-01-10 16:06:33 +01:00

introduce option for recursively checking all child rooms as well

This commit is contained in:
June 2025-08-19 02:16:57 +02:00
commit 919127e255
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
4 changed files with 72 additions and 2 deletions

View file

@ -73,7 +73,7 @@ func main() {
fclient.WithTimeout(config.HomeserverVersionInfoTimeout),
)
roomInfoTree := roominfotree.Get(config.Rooms, client, federationClient)
roomInfoTree := roominfotree.Get(config.Rooms, config.Recursive, client, federationClient)
for roomID, roomInfo := range roomInfoTree {
fmt.Println("Room:")