Fix multiple rooms in config file
Closes https://git.autonomic.zone/decentral1se/xbotlib/issues/33.
This commit is contained in:
parent
34aacc07cb
commit
93ad1853b1
@ -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)
|
||||||
|
|
||||||
|
@ -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):
|
||||||
|
Reference in New Issue
Block a user