Also run setup for previously invited rooms

This commit is contained in:
Luke Murphy 2021-02-27 20:07:14 +01:00
parent 8e8b54e3e1
commit d5cb732aaf
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -152,6 +152,8 @@ class Logbot(Bot):
self.log.info(f"Output folder is set to: { self.output }") self.log.info(f"Output folder is set to: { self.output }")
for room in self.rooms: for room in self.rooms:
self._setup_room(room) self._setup_room(room)
for room in self._data["invited"]:
self._setup_room(room)
def group_invite(self, message): def group_invite(self, message):
"""Extend xbotlib invite response logic and do required room setup.""" """Extend xbotlib invite response logic and do required room setup."""