We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed624a7 commit 6507d48Copy full SHA for 6507d48
zulipterminal/model.py
@@ -1193,10 +1193,9 @@ def _update_users_data_from_initial_data(self) -> None:
1193
* UserStatus, an arbitrary one is chosen.
1194
"""
1195
aggregate_status: UserStatus = "offline"
1196
- for client in presences[email].items():
1197
- client_name = client[0]
1198
- status = client[1]["status"]
1199
- timestamp = client[1]["timestamp"]
+ for client_name, client_presence in presences[email].items():
+ status = client_presence["status"]
+ timestamp = client_presence["timestamp"]
1200
if client_name == "aggregated":
1201
continue
1202
if (server_timestamp - timestamp) < OFFLINE_THRESHOLD_SECS:
0 commit comments