File tree 3 files changed +6
-3
lines changed
modules/Channel/components/ChannelUI
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,7 @@ const SendbirdSDK = ({
316
316
// Remote configs set from dashboard by UIKit feature configuration
317
317
groupChannel : {
318
318
enableOgtag : configs . groupChannel . channel . enableOgtag ,
319
+ enableTypingIndicator : configs . groupChannel . channel . enableTypingIndicator ,
319
320
} ,
320
321
openChannel : {
321
322
enableOgtag : configs . openChannel . channel . enableOgtag ,
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ export interface SendBirdStateConfig {
107
107
// Remote configs set from dashboard by UIKit feature configuration
108
108
groupChannel : {
109
109
enableOgtag : SBUConfig [ 'groupChannel' ] [ 'channel' ] [ 'enableOgtag' ] ;
110
+ enableTypingIndicator : SBUConfig [ 'groupChannel' ] [ 'channel' ] [ 'enableTypingIndicator' ] ;
110
111
} ,
111
112
openChannel : {
112
113
enableOgtag : SBUConfig [ 'openChannel' ] [ 'channel' ] [ 'enableOgtag' ] ;
Original file line number Diff line number Diff line change @@ -122,9 +122,10 @@ const ChannelUI: React.FC<ChannelUIProps> = ({
122
122
}
123
123
< div className = "sendbird-conversation__footer__typing-indicator" >
124
124
{
125
- renderTypingIndicator ?.( ) || (
126
- < TypingIndicator />
127
- )
125
+ renderTypingIndicator ?.( )
126
+ || globalStore ?. config ?. groupChannel ?. enableTypingIndicator && (
127
+ < TypingIndicator />
128
+ )
128
129
}
129
130
{
130
131
! isOnline && (
You can’t perform that action at this time.
0 commit comments