diff --git a/src/components/chat/ChatModel.cpp b/src/components/chat/ChatModel.cpp index 8e8d17efa..3fcb5b4c8 100644 --- a/src/components/chat/ChatModel.cpp +++ b/src/components/chat/ChatModel.cpp @@ -42,7 +42,9 @@ #define THUMBNAIL_IMAGE_FILE_WIDTH 100 // Not enabled by default. -#define LIMIT_FILE_SIZE 0 +#ifndef LIMIT_FILE_SIZE + #define LIMIT_FILE_SIZE 0 +#endif // In Bytes. (500) #define FILE_SIZE_LIMIT 524288000