LabCleaningBot: make all members of the task group to admins

This commit is contained in:
lemoer 2024-12-28 02:18:10 +01:00
parent aa36e3e911
commit db7a98aa21

View File

@ -402,6 +402,7 @@ class LabCleaningBot:
task.chatgroup = chatgroup
self.api.update_group_members(chatgroup, [r.user.name for r in task.accepted_requests()])
self.api.update_group_admins(chatgroup, [r.user.name for r in task.accepted_requests()])
async def sync_members_and_tasks(self, session: Session):
# Async routine that syncs active members using sync_members_as_active_users(),