'Called when a client tells us a local user has read up to the given
event_id in the room.'

@defer.inlineCallbacks
def received_client_receipt(self, room_id, receipt_type, user_id, event_id):

    receipt = {'room_id': room_id, 'receipt_type': receipt_type, 'user_id': user_id, 'event_ids': [event_id], 'data': {'ts': int(self.clock.time_msec())}}
    is_new = (yield self._handle_new_receipts([receipt]))
    if is_new:
        self._push_remotes([receipt])
