The very same Github repo have the methods like
/ Create a new connection, this package do this automaticly Meteor.call('UserPresence:connect'); // Set connection as away, can be usefull call this method if you are using cordova to ser user as away when application goes to background for example. Meteor.call('UserPresence:away'); // Set connection as online Meteor.call('UserPresence:online'); // Changes the default status of user Meteor.call('UserPresence:setDefaultStatus', 'busy')
But these methods run automatically, I don’t see any method where I could pass the userId for which I want to track the online/offline status.
Please let me know if I could modify this library a bit and could do what I wish to do. Any help would be greatly appreciated.