File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
Expand file tree Collapse file tree 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 = {
7070 [ CHANNEL_REPLACED_TO_TOP ] : GroupChannel ;
7171 [ CHANNEL_LIST_PARAMS_UPDATED ] : {
7272 channelListQuery : GroupChannelListQuery ;
73+ currentUserId ?: string ,
7374 } ;
7475} ;
7576
Original file line number Diff line number Diff line change @@ -296,6 +296,7 @@ export default function channelListReducer(
296296 . with ( { type : channelListActions . CHANNEL_LIST_PARAMS_UPDATED } , ( action ) => ( {
297297 ...state ,
298298 channelListQuery : action . payload . channelListQuery ,
299+ currentUserId : action . payload . currentUserId ,
299300 } ) )
300301 . otherwise ( ( ) => state )
301302 ) ;
Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ function setupChannelList({
205205 type : channelActions . CHANNEL_LIST_PARAMS_UPDATED ,
206206 payload : {
207207 channelListQuery,
208+ currentUserId : sdk ?. currentUser ?. userId ?? '' ,
208209 } ,
209210 } ) ;
210211 }
You can’t perform that action at this time.
0 commit comments