Remove incorrect check in own read receipt bridging

This commit is contained in:
Tulir Asokan
2020-07-30 19:22:13 +03:00
parent b17454723e
commit 8ca78e21b6
-4
View File
@@ -298,10 +298,6 @@ class AbstractUser(ABC):
async def update_own_read_receipt(self, update: Union[UpdateReadHistoryInbox,
UpdateReadChannelInbox]) -> None:
if not isinstance(update.peer, PeerUser):
self.log.debug("Unexpected read receipt peer: %s", update.peer)
return
puppet = pu.Puppet.get(self.tgid)
if not puppet.is_real_user:
return