feat(notification): enhance chat notification routing with flexible field handling
Support both 'chat_message' and 'chat' notification types with flexible field name handling (snake_case and camelCase variants). Add groupId and groupName parameters for group chats, and fall back to notifications screen when conversationId is missing.
This commit is contained in:
@@ -56,6 +56,7 @@ export const ChatHeader: React.FC<ChatHeaderProps> = ({
|
||||
headerName: {
|
||||
...baseStyles.headerName,
|
||||
fontSize: isWideScreen ? 19 : 17,
|
||||
maxWidth: isWideScreen ? 190 : 170,
|
||||
},
|
||||
memberCount: {
|
||||
...baseStyles.memberCount,
|
||||
|
||||
Reference in New Issue
Block a user