Process messages without pts

This commit is contained in:
Andrey Egorov
2017-09-22 23:14:31 +02:00
committed by Lonami
parent f39f9c33a0
commit 73fbfde7ef
+1 -1
View File
@@ -78,7 +78,7 @@ class UpdateState:
return # Nothing else to be done
pts = getattr(update, 'pts', self._state.pts)
if pts <= self._state.pts:
if hasattr(update, 'pts') and pts <= self._state.pts:
return # We already handled this update
self._state.pts = pts