Added User profiles so users can change their username

This commit is contained in:
Thaum
2015-03-31 11:38:09 +00:00
parent 51d697b894
commit dad9f3dd73
14 changed files with 136 additions and 50 deletions

View File

@@ -1,10 +1,13 @@
Meteor.publish("characterList",function(userId){
if(!userId) return;
if(!userId) {
this.ready();
return;
}
return Characters.find({
$or: [
{readers: userId},
{writers: userId},
{owner: userId}
]
$or: [
{readers: userId},
{writers: userId},
{owner: userId}
]
});
});