Added online status

This commit is contained in:
2025-02-10 16:24:43 +01:00
parent 688e7fbf0e
commit 48891c4386
+1 -1
View File
@@ -48,7 +48,7 @@ class ChannelService(BaseService):
if not user["last_ping"]:
continue
if (datetime.fromisoformat(now()) - datetime.fromisoformat(user["last_ping"])).total_seconds() < 30:
if (datetime.fromisoformat(now()) - datetime.fromisoformat(user["last_ping"])).total_seconds() >= 20:
yield user
async def ensure_public_channel(self, created_by_uid):