bigbluebutton-Github/labs/meteor-client/client/views/chat/chat_bar.coffee
2014-06-24 06:46:42 -07:00

13 lines
336 B
CoffeeScript
Executable File

Template.chatbar.helpers
getMessagesInChat: ->
c = Chats.findOne {chatId: Session.get("meetingId") }
if c? then c.messages else []
Template.chatbar.events
"click .publicChatTab": (event) ->
Session.set "display_messageBar", true
"click .optionsChatTab": (event) ->
Session.set "display_messageBar", false