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';
33
44import type { MessageCollectionParams , MessageFilterParams } from '@sendbird/chat/groupChannel' ;
55import type { UseGroupChannelMessagesOptions } from '@sendbird/uikit-chat-hooks' ;
6- import {
6+ import type {
77 OnBeforeHandler ,
88 PickPartial ,
99 SendbirdFileMessage ,
Original file line number Diff line number Diff line change 88} from '@sendbird/chat/groupChannel' ;
99import { ReplyType } from '@sendbird/chat/message' ;
1010import { Box , useToast } from '@sendbird/uikit-react-native-foundation' ;
11- import { useGroupChannelHandler , useGroupChannelMessages } from '@sendbird/uikit-tools' ;
11+ import { useGroupChannelMessages } from '@sendbird/uikit-tools' ;
1212import {
1313 SendbirdFileMessage ,
1414 SendbirdGroupChannel ,
@@ -129,14 +129,6 @@ const createGroupChannelFragment = (initModule?: Partial<GroupChannelModule>): G
129129 }
130130 } ) ;
131131
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-
140132 const {
141133 loading,
142134 messages,
You can’t perform that action at this time.
0 commit comments