1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00
This commit is contained in:
David Baker
2015-11-12 12:08:20 +00:00
parent f74bb3c145
commit 588870b479
2 changed files with 6 additions and 2 deletions

View File

@@ -19,7 +19,9 @@ module.exports = {
* for such URLs.
* @return {string} The complete URL to the content.
*/
getHttpUriForMxc: function(baseUrl, mxc, width, height, resizeMethod, allowDirectLinks) {
getHttpUriForMxc: function(
baseUrl, mxc, width, height, resizeMethod, allowDirectLinks
) {
if (typeof mxc !== "string" || !mxc) {
return '';
}