* sending 'downloadavailable' messages when mix becomes available
This commit is contained in:
parent
eb7adbd303
commit
26f751cdc4
|
|
@ -37,7 +37,11 @@ module JamRuby
|
|||
self.length = length
|
||||
self.md5 = md5
|
||||
self.completed = true
|
||||
save
|
||||
if save
|
||||
recording.users.each do |user|
|
||||
Notification.send_download_available(user.id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def s3_url
|
||||
|
|
|
|||
|
|
@ -5,7 +5,5 @@ Mime::Type.register "audio/ogg", :audio_ogg
|
|||
|
||||
APP_CONFIG = Rails.application.config
|
||||
|
||||
puts APP_CONFIG.audiomixer_path
|
||||
|
||||
# Initialize the rails application
|
||||
SampleApp::Application.initialize!
|
||||
|
|
|
|||
Loading…
Reference in New Issue