~nicoco/sleamdge

ac4c89668d14ccfb50ac745d5c81cc9f11e0ad30 — nicoco 4 months ago f7b026c
fix: fill all members of groups
1 files changed, 7 insertions(+), 2 deletions(-)

M sleamdge/group.py
M sleamdge/group.py => sleamdge/group.py +7 -2
@@ 157,8 157,13 @@ class MUC(LegacyMUC[ChannelId, int, Participant, int]):
        g = (await self.get_steam_channel()).group
        if not g:
            return
        for m in g.members:
            await self.get_participant_by_legacy_id(m.id)
        try:
            for m in await g.chunk():
                await self.get_participant_by_legacy_id(m.id)
        except AttributeError:
            # workaround for https://github.com/Gobot1234/steam.py/issues/565
            for m in g.members:
                await self.get_participant_by_legacy_id(m.id)

    async def backfill(
        self,