File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
modules/Channel/components/ChannelUI Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,7 @@ const SendbirdSDK = ({
316316 // Remote configs set from dashboard by UIKit feature configuration
317317 groupChannel : {
318318 enableOgtag : configs . groupChannel . channel . enableOgtag ,
319+ enableTypingIndicator : configs . groupChannel . channel . enableTypingIndicator ,
319320 } ,
320321 openChannel : {
321322 enableOgtag : configs . openChannel . channel . enableOgtag ,
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ export interface SendBirdStateConfig {
107107 // Remote configs set from dashboard by UIKit feature configuration
108108 groupChannel : {
109109 enableOgtag : SBUConfig [ 'groupChannel' ] [ 'channel' ] [ 'enableOgtag' ] ;
110+ enableTypingIndicator : SBUConfig [ 'groupChannel' ] [ 'channel' ] [ 'enableTypingIndicator' ] ;
110111 } ,
111112 openChannel : {
112113 enableOgtag : SBUConfig [ 'openChannel' ] [ 'channel' ] [ 'enableOgtag' ] ;
Original file line number Diff line number Diff line change @@ -122,9 +122,10 @@ const ChannelUI: React.FC<ChannelUIProps> = ({
122122 }
123123 < div className = "sendbird-conversation__footer__typing-indicator" >
124124 {
125- renderTypingIndicator ?.( ) || (
126- < TypingIndicator />
127- )
125+ renderTypingIndicator ?.( )
126+ || globalStore ?. config ?. groupChannel ?. enableTypingIndicator && (
127+ < TypingIndicator />
128+ )
128129 }
129130 {
130131 ! isOnline && (
You can’t perform that action at this time.
0 commit comments