

def is_after(self, other):
    "Does this token contain events that the other doesn't?"
    return ((other.room_stream_id < self.room_stream_id) or (int(other.presence_key) < int(self.presence_key)) or (int(other.typing_key) < int(self.typing_key)) or (int(other.receipt_key) < int(self.receipt_key)) or (int(other.account_data_key) < int(self.account_data_key)) or (int(self.push_rules_key) < int(self.push_rules_key)))

dataset/ETHPy150Open matrix-org/synapse/synapse/types.py StreamToken.is_after/VarMisuse@93/135 `other`->`self`