meteor-user-presence | Meteor package to track user online status | Stream Processing library
kandi X-RAY | meteor-user-presence Summary
kandi X-RAY | meteor-user-presence Summary
Meteor package to track user online status over multiple servers.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of meteor-user-presence
meteor-user-presence Key Features
meteor-user-presence Examples and Code Snippets
Community Discussions
Trending Discussions on meteor-user-presence
QUESTION
On Meteor, I have installed konecty meteor-user-presence
(link) package to enable user status for each users on my application. This package adds additional fields (status, statusConnection) on Meteor User collection. In my current application setup, I have a different collection called UserProfiles
that is used to store additional information about each users. I used id
from the user collection as an identifier for the UserProfiles collection, under the field owner
.
Is there a way to reactively copy updates from the two fields (status & statusConnection) from the user collection, to the custom UserProfiles collection?
...ANSWER
Answered 2020-May-21 at 03:29I am able to achieve this using another package from Atmospherejs called collection-hooks
{matb33:collection-hooks}. I basically add this into my main.js on the server:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install meteor-user-presence
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page