From 0e23aafa3ddfc135c13f8c6c67d3501d818d03b1 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 12 Mar 2018 11:02:43 +0200 Subject: [PATCH] Fix duplicate participants causing some users to be left out --- mautrix_telegram/portal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mautrix_telegram/portal.py b/mautrix_telegram/portal.py index b1f2d1f9..1b030bca 100644 --- a/mautrix_telegram/portal.py +++ b/mautrix_telegram/portal.py @@ -447,7 +447,7 @@ class Portal: break participants += response.participants users += response.users - offset += len(response.users) + offset += len(response.participants) return users, participants except ChatAdminRequiredError: return [], []