Fixed issue where we couldn't return the time for the user.
This commit is contained in:
parent
50f4a48727
commit
63744a1857
@ -43,7 +43,7 @@
|
||||
(new Date).valueOf()
|
||||
|
||||
@getTimeOfJoining = ->
|
||||
Meteor.Users.findOne({"user.userid": getInSession("userId")})?.user?.time_of_joining
|
||||
Meteor.Users.findOne(_id: getInSession "DBID")?.user?.time_of_joining
|
||||
|
||||
@getUsersName = ->
|
||||
name = getInSession("userName") # check if we actually have one in the session
|
||||
|
Loading…
Reference in New Issue
Block a user