Skip to content
Snippets Groups Projects
Commit 8413c382 authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

doc

parent adf582db
No related branches found
No related tags found
No related merge requests found
......@@ -47,11 +47,11 @@ angular.module('mFileUpload', ['matrixService', 'mUtilities'])
};
/*
* Upload an filmessagee plus generate a thumbnail of it (if possible) and upload it so that
* we will have all information to fulfill an image message request data.
* Upload an file plus generate a thumbnail of it (if possible) and upload it so that
* we will have all information to fulfill an file/image message request
* @param {File} file the file to send
* @param {Integer} thumbnailSize the max side size of the thumbnail to create
* @returns {promise} A promise that will be resolved by a image message object
* @returns {promise} A promise that will be resolved by a message object
* ready to be send with the Matrix API
*/
this.uploadFileAndThumbnail = function(file, thumbnailSize) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment