From c097c037f50bf95a08d6455176b87d03a89c4585 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Wed, 18 Oct 2017 21:28:11 -0500 Subject: [PATCH] done --- ruby/lib/jam_ruby/models/lesson_session.rb | 2 +- .../react-components/PopupRecordingStartStop.js.jsx.coffee | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ruby/lib/jam_ruby/models/lesson_session.rb b/ruby/lib/jam_ruby/models/lesson_session.rb index bb97f9d2c..0e3f87051 100644 --- a/ruby/lib/jam_ruby/models/lesson_session.rb +++ b/ruby/lib/jam_ruby/models/lesson_session.rb @@ -341,7 +341,7 @@ module JamRuby def video_uploaded(user, recording, data) claim = recording.claim_for_user(user) - msg = ChatMessage.create(user, nil, "Video Recording '#{claim.name}'", ChatMessage::CHANNEL_LESSON, nil, other_user(user), self, "Video Uploaded", nil, claim) + msg = ChatMessage.create(user, nil, "'#{claim.name}'", ChatMessage::CHANNEL_LESSON, nil, other_user(user), self, "Video Uploaded", nil, claim) Notification.send_lesson_message('video uploaded', self, false) Notification.send_lesson_message('video uploaded', self, true) end diff --git a/web/app/assets/javascripts/react-components/PopupRecordingStartStop.js.jsx.coffee b/web/app/assets/javascripts/react-components/PopupRecordingStartStop.js.jsx.coffee index 240152f4c..b27d5f14d 100644 --- a/web/app/assets/javascripts/react-components/PopupRecordingStartStop.js.jsx.coffee +++ b/web/app/assets/javascripts/react-components/PopupRecordingStartStop.js.jsx.coffee @@ -253,6 +253,7 @@ if accessOpener openWindows = window.opener.jamClient.getOpenVideoSources() + console.log("open video sources", openWindows) fixedwindows = [] if openWindows?