removed dbid
This commit is contained in:
parent
6ba5d39b93
commit
b1399a8d40
@ -258,6 +258,4 @@ Handlebars.registerHelper "visibility", (section) ->
|
||||
username: getInSession "userName"
|
||||
userid: getInSession "userId"
|
||||
authToken: getInSession "authToken"
|
||||
DBIDinSession: getInSession "DBID"
|
||||
DBIDfromCol: Meteor.Users.findOne({userId:getInSession 'userId'})?._id
|
||||
}
|
||||
|
@ -1,9 +1,3 @@
|
||||
@grabAllDBID = ->
|
||||
array = []
|
||||
for u in Meteor.Users.find().fetch()
|
||||
array.push(u._id)
|
||||
return array
|
||||
|
||||
# Helper to load javascript libraries from the BBB server
|
||||
loadLib = (libname) ->
|
||||
successCallback = ->
|
||||
|
@ -48,7 +48,7 @@
|
||||
'from_color': '0x3399FF' # A nice blue in hex
|
||||
]
|
||||
else
|
||||
me = getInSession("DBID")
|
||||
me = getInSession("userId")
|
||||
after = Meteor.Chat.find({ # find all messages between current user and recipient
|
||||
'message.chat_type': 'PRIVATE_CHAT',
|
||||
$or: [{'message.from_userid': me, 'message.to_userid': friend},{'message.from_userid': friend, 'message.to_userid': me}]
|
||||
|
Loading…
Reference in New Issue
Block a user