File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
packages/uikit-react-native/src Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { FlatList } from 'react-native';
3
3
4
4
import type { MessageCollectionParams , MessageFilterParams } from '@sendbird/chat/groupChannel' ;
5
5
import type { UseGroupChannelMessagesOptions } from '@sendbird/uikit-chat-hooks' ;
6
- import {
6
+ import type {
7
7
OnBeforeHandler ,
8
8
PickPartial ,
9
9
SendbirdFileMessage ,
Original file line number Diff line number Diff line change 8
8
} from '@sendbird/chat/groupChannel' ;
9
9
import { ReplyType } from '@sendbird/chat/message' ;
10
10
import { Box , useToast } from '@sendbird/uikit-react-native-foundation' ;
11
- import { useGroupChannelHandler , useGroupChannelMessages } from '@sendbird/uikit-tools' ;
11
+ import { useGroupChannelMessages } from '@sendbird/uikit-tools' ;
12
12
import {
13
13
SendbirdFileMessage ,
14
14
SendbirdGroupChannel ,
@@ -129,14 +129,6 @@ const createGroupChannelFragment = (initModule?: Partial<GroupChannelModule>): G
129
129
}
130
130
} ) ;
131
131
132
- useGroupChannelHandler ( sdk , {
133
- onUserMarkedUnread : ( _ , userIds ) => {
134
- if ( userIds . includes ( currentUser ?. userId ?? '' ) ) {
135
- groupChannelPubSub . publish ( { type : 'ON_MARKED_AS_UNREAD_BY_CURRENT_USER' } ) ;
136
- }
137
- } ,
138
- } ) ;
139
-
140
132
const {
141
133
loading,
142
134
messages,
You can’t perform that action at this time.
0 commit comments