Skip to content

Commit c49cd7e

Browse files
committed
Increase media file size limit
1 parent 2bf0e2c commit c49cd7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bare/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ const sanitize_typing_message = (data) => {
444444
//Check if it is an image or video with allowed type
445445
function check_if_media(path, size) {
446446
if (path === undefined) return false;
447-
if (size >= 10000000) return false;
447+
if (size >= 50000000) return false;
448448
const types = [
449449
{ file: '.png', type: 'image' },
450450
{ file: '.jpg', type: 'image' },

0 commit comments

Comments
 (0)