'As per TransactionQueue
Args:
states (list(UserPresenceState))'

def send_presence(self, states):

    pos = self._next_pos()
    local_states = filter((lambda s: self.is_mine_id(s.user_id)), states)
    self.presence_map.update({state.user_id: state for state in local_states})
    self.presence_changed[pos] = [state.user_id for state in local_states]
    self.notifier.on_new_replication_data()
