function whoami to help during development
This commit is contained in:
parent
0616c593f3
commit
81d8fbde08
@ -267,7 +267,8 @@ Handlebars.registerHelper "visibility", (section) ->
|
||||
@chatTabs.insert({ userId: "PUBLIC_CHAT", name: "Public", gotMail: false, class: "publicChatTab"})
|
||||
@chatTabs.insert({ userId: "OPTIONS", name: "Options", gotMail: false, class: "optionsChatTab"})
|
||||
|
||||
|
||||
# TODO TEMPORARY!!
|
||||
# must not have this in production
|
||||
@whoami = ->
|
||||
return {
|
||||
username: getInSession "userName"
|
||||
|
Loading…
Reference in New Issue
Block a user