def recv_unsub(self, id_=None): """DDP unsub handler.""" if id_: API.unsub(id_) else: self.reply('nosub')