mirror of
https://github.com/maubot/maubot.git
synced 2024-10-01 01:06:10 -04:00
Force instance ID to be lowercase when updating
This commit is contained in:
parent
1214c54c35
commit
79fe991daf
@ -222,7 +222,7 @@ class PluginInstance:
|
||||
|
||||
def update_id(self, new_id: str) -> None:
|
||||
if new_id is not None and new_id != self.id:
|
||||
self.db_instance.id = new_id
|
||||
self.db_instance.id = new_id.lower()
|
||||
|
||||
def update_config(self, config: str) -> None:
|
||||
if not config or self.db_instance.config == config:
|
||||
|
Loading…
Reference in New Issue
Block a user