You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notification subscription works perfect, but the stats doesn't get updated reactively.. Only after reloading the page it shows actual numbers. When I explicitly execute Stream.notifications.findOne({ feedGroup: 'notification', feedId: Meteor.userId()}) in the console, after performing some action, the returned numbers aren't updated, but the notification itself is successfully received and displayed
The text was updated successfully, but these errors were encountered:
Unfortunately this behavior has been removed from the Stream realtime transport (it received a major refactor a while back). This means the realtime transport no longer exposes the amount of unread and unseen activities, something the meteor library currently relies on to make these counters reactive.
I use temporary workaround - copy the counts in a reactive variable on first load, and use observeChanges on used Stream collections to increment that on added. maybe that will help somebody:)
Notification subscription works perfect, but the stats doesn't get updated reactively.. Only after reloading the page it shows actual numbers. When I explicitly execute
Stream.notifications.findOne({ feedGroup: 'notification', feedId: Meteor.userId()})
in the console, after performing some action, the returned numbers aren't updated, but the notification itself is successfully received and displayedThe text was updated successfully, but these errors were encountered: