Skip to content

Commit a579dfb

Browse files
authored
fix: Set the default image compression rate to 70% (#379)
1 parent 285df35 commit a579dfb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/lib/Sendbird.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ export default function Sendbird(props) {
194194
userListQuery,
195195
logger,
196196
pubSub,
197-
imageCompression,
197+
imageCompression: {
198+
compressionRate: 0.7,
199+
...imageCompression,
200+
},
198201
isReactionEnabled,
199202
isMentionEnabled: isMentionEnabled || false,
200203
userMention: {

0 commit comments

Comments
 (0)