File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -248,13 +248,17 @@ async def handle_packet(self, packet):
248248 if time_diff > 30 :
249249 raise SecurityCheckMismatch (
250250 "The msg_id belongs to over 30 seconds in the future. "
251- "Most likely the client time has to be synchronized."
251+ "This usually means your system clock is ahead of the actual time. "
252+ "Please synchronize your system time with an NTP server to avoid "
253+ "this error in Hydrogram."
252254 )
253255
254256 if time_diff < - 300 :
255257 raise SecurityCheckMismatch (
256258 "The msg_id belongs to over 300 seconds in the past. "
257- "Most likely the client time has to be synchronized."
259+ "This usually means your system clock is behind the actual time. "
260+ "Please synchronize your system time with an NTP server to avoid "
261+ "this error in Hydrogram."
258262 )
259263 except SecurityCheckMismatch as e :
260264 log .info ("Discarding packet: %s" , e )
You can’t perform that action at this time.
0 commit comments