print joined rooms
This commit is contained in:
parent
7fadec40a9
commit
a4241310b1
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ async def main() -> None:
|
|||
await client.sync()
|
||||
for room in client.invited_rooms:
|
||||
await client.join(room)
|
||||
print(f"joined room {room}")
|
||||
# Watch out! If you join an old room you'll see lots of old messages
|
||||
await client.sync_forever(timeout=30000) # milliseconds
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue