Skip to content

Commit d7778a3

Browse files
No uptime allowed
1 parent ae258b1 commit d7778a3

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

pyrogram/client.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1527,12 +1527,6 @@ async def set_dc(
15271527
def server_time(self) -> float:
15281528
return self._last_sync_time + (time.monotonic() - self._last_monotonic)
15291529

1530-
@property
1531-
def uptime(self) -> int:
1532-
if not self._is_server_time_synced:
1533-
return 0
1534-
return int(time.monotonic() - self._last_monotonic)
1535-
15361530
def _set_server_time(self, msg_id: int):
15371531
if self._is_server_time_synced:
15381532
return

0 commit comments

Comments
 (0)