chamilo-lms icon indicating copy to clipboard operation
chamilo-lms copied to clipboard

Messages audio file location

Open jmontoyaa opened this issue 4 years ago • 1 comments

Add the audio file location as a message attachment or save it as a Resource

jmontoyaa avatar Feb 23 '21 11:02 jmontoyaa

When adding a file to a message or adding an audio to a message, those files are added using the Resources. The entities used are Message -> MessageAttachment -> ResourceNode -> ResourceFile

jmontoyaa avatar May 29 '21 07:05 jmontoyaa

The request is added in this commi https://github.com/chamilo/chamilo-lms/commit/b315eb76e31fe5688db6963c128799ab74a7767e#diff-d5bcb1cf527991b5c34f11808bbc526c4a06611d45923a821687f987cff8bc16

$fileToUpload = new UploadedFile($meta['uri'], $fileName, $file['type'], null, true);

christianbeeznest avatar Sep 22 '22 02:09 christianbeeznest