From a579dfb28fbbfd1fe344ed400f98e93e1cf6b606 Mon Sep 17 00:00:00 2001 From: HoonBaek Date: Mon, 12 Dec 2022 12:09:12 +0900 Subject: [PATCH] fix: Set the default image compression rate to 70% (#379) --- src/lib/Sendbird.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/Sendbird.jsx b/src/lib/Sendbird.jsx index d88edc1c8..cd3724be3 100644 --- a/src/lib/Sendbird.jsx +++ b/src/lib/Sendbird.jsx @@ -194,7 +194,10 @@ export default function Sendbird(props) { userListQuery, logger, pubSub, - imageCompression, + imageCompression: { + compressionRate: 0.7, + ...imageCompression, + }, isReactionEnabled, isMentionEnabled: isMentionEnabled || false, userMention: {