Fix multiple rooms in config file

Closes https://git.autonomic.zone/decentral1se/xbotlib/issues/33.
This commit is contained in:
Luke Murphy 2021-01-19 20:39:51 +01:00
parent 34aacc07cb
commit 93ad1853b1
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
# xbotlib 0.14.0 (2021-01-19) # xbotlib 0.14.0 (2021-01-19)
- Reduce generated config flow to only mandatory options - Reduce generated config flow to only mandatory options
- Fix support for multiple rooms in configuration file ([#33](https://git.autonomic.zone/decentral1se/xbotlib/issues/33))
# xbotlib 0.13.1 (2021-01-19) # xbotlib 0.13.1 (2021-01-19)

View File

@ -133,7 +133,7 @@ class Config:
if rooms is None: if rooms is None:
return None return None
return rooms.split(",") return [room.strip() for room in rooms.split(",")]
@property @property
def no_auto_join(self): def no_auto_join(self):