File tree 3 files changed +3
-0
lines changed
3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ type CHANNEL_LIST_PAYLOAD_TYPES = {
70
70
[ CHANNEL_REPLACED_TO_TOP ] : GroupChannel ;
71
71
[ CHANNEL_LIST_PARAMS_UPDATED ] : {
72
72
channelListQuery : GroupChannelListQuery ;
73
+ currentUserId ?: string ,
73
74
} ;
74
75
} ;
75
76
Original file line number Diff line number Diff line change @@ -296,6 +296,7 @@ export default function channelListReducer(
296
296
. with ( { type : channelListActions . CHANNEL_LIST_PARAMS_UPDATED } , ( action ) => ( {
297
297
...state ,
298
298
channelListQuery : action . payload . channelListQuery ,
299
+ currentUserId : action . payload . currentUserId ,
299
300
} ) )
300
301
. otherwise ( ( ) => state )
301
302
) ;
Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ function setupChannelList({
205
205
type : channelActions . CHANNEL_LIST_PARAMS_UPDATED ,
206
206
payload : {
207
207
channelListQuery,
208
+ currentUserId : sdk ?. currentUser ?. userId ?? '' ,
208
209
} ,
209
210
} ) ;
210
211
}
You can’t perform that action at this time.
0 commit comments