How to subscribe to a publication on template change without collection rests

Hi,

I have a contact template which subscribes to some chat+contact publication

Next to it I have chat template which has its own subscription to a chat publication

When switching templates Router.go(“chat”)… the old publication is still active and I get elements in my html which come from the old contact publication.

How can I do a rerender here or re-subscribe?

A page-reload does show everything as it should be… but a move with Router.go does not work.

thx
java99

My guess would be that you’re not properly unsubscribing from the publication. Or if you need to have the two subscriptions active at the same time, but don’t want their documents to show up in a find, you might find find-from-publication interesting.