The thing is you can’t know, but because publication are blocking by nature, you can make this identification in a way by inspecting the DDP messages, but that only initially. Also, on the server, in the SessionCollectionView it is stored the publication name, so when you unsubscribe it knows what to clear out.