SDK v4.x
or laterCometChatConfirmDialog
)Component / Class | Role |
---|---|
CometChatUserDetails | Displays user details and available actions |
CometChatConfirmDialog | Renders confirmation prompts for block/delete |
CometChatUserEvents | Emits block/unblock events |
CometChatConversationEvents | Emits conversation deletion event |
CometChatThreadedMessages.tsx
Ensures the composer and unblock UI reflect the current block state.
CometChatHome.tsx
Prepares the UI containers for dynamic show/hide operations.
CometChatHome.tsx
Executes unblock logic and updates LiveData to refresh UI.
Feature | Component / Method |
---|---|
Block user | CometChat.blockUsers([UID]) |
Unblock user | CometChat.unblockUsers([UID]) |
Delete chat | CometChat.deleteConversation(UID, 'user') |
Event updates | CometChatUserEvents / CometChatConversationEvents |