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
Can you please tell me what did you use for allowing user A to send a message to user B ?
I'd like to integrate such functionality on my meteor/telescope app.
Thanks!
The text was updated successfully, but these errors were encountered:
Howdy. Before proceeding, a few words of warning: this piece of code hasn't been updated to fare with the newest (stable) version of Meteor. You're very welcome to re-use any code you want, but the "meteor-way" has changed drastically since that was written. Also, I haven't touch that code in 2 years.
in server/messages.js:13, I checked that the sender is not in the receiver's blacklist.
Interestingly, I can't find where one can blacklist another user, maybe it's not implemented (again, very old project). That being said, it's not very complicated to make it better, depending on what kind of permission you want. In the current code, you have a bit of logic to indicate how users are connected (A -> B, or A <-> B), you could for example allow messages exchange only for A <-> B (reciprocal relation). Those relations are stored in the "friends" collection.
Can you please tell me what did you use for allowing user A to send a message to user B ?
I'd like to integrate such functionality on my meteor/telescope app.
Thanks!
The text was updated successfully, but these errors were encountered: