Open yuri-karadzhov opened 11 years ago
Yes, I knew that this was a bad idea, it was made so to make this feature faster, it is kind of easy to refactor that part of code. I will do this after beta.
I changed db.users.findById to db.contacts.getInfo
First of all it is really bad idea to add user info to all actions. You should keep all user info on the client side and pass only id. Second - user info contains user password if you use db.users.findById.
You should always ask me for advice if you going to do smth on the server side.