* backend handles these notfications already VRFS-1067

This commit is contained in:
Seth Call 2014-02-04 21:20:30 +00:00
parent 148009ece5
commit dab9063fb9
1 changed files with 6 additions and 5 deletions

View File

@ -105,8 +105,9 @@ module JamRuby
end
end
connection = Connection.where(:user_id => owner.id).where(:music_session_id => music_session.id).first
Notification.send_recording_started(music_session, connection, owner)
# the front-end handles this already
#connection = Connection.where(:user_id => owner.id).where(:music_session_id => music_session.id).first
#Notification.send_recording_started(music_session, connection, owner)
recording
end
@ -122,9 +123,9 @@ module JamRuby
self.save
end
connection = Connection.where(:user_id => self.owner.id).where(:music_session_id => music_session.id).first
Notification.send_recording_ended(music_session, connection, self.owner)
# the front-end handles this already
#connection = Connection.where(:user_id => self.owner.id).where(:music_session_id => music_session.id).first
#Notification.send_recording_ended(music_session, connection, self.owner)
self
end