This commit is contained in:
2025-08-06 14:18:11 +02:00
parent 3759306e38
commit e62da0aef1
+1 -1
View File
@@ -77,7 +77,7 @@ class SocketService(BaseService):
async def send_to_user(self, user_uid, message): async def send_to_user(self, user_uid, message):
count = 0 count = 0
for s in self.users.get(user_uid, []): for s in list(self.users.get(user_uid, [])):
if await s.send_json(message): if await s.send_json(message):
count += 1 count += 1
return count return count