shop
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { parseLocationContent } from "@/components/chat/LocationMessageBubble";
|
||||
import { parseSharedPost } from "@/components/chat/SharedPostBubble";
|
||||
import { parseSharedProduct } from "@/components/chat/SharedProductBubble";
|
||||
import {
|
||||
extractStoryReactionText,
|
||||
parseSharedStory,
|
||||
@@ -54,6 +55,11 @@ export function getCopyableMessageText(
|
||||
return null;
|
||||
}
|
||||
|
||||
const sharedProduct = parseSharedProduct(content);
|
||||
if (sharedProduct) {
|
||||
return sharedProduct.title?.trim() || null;
|
||||
}
|
||||
|
||||
const sharedStory = parseSharedStory(content);
|
||||
if (sharedStory) {
|
||||
const reactionText = extractStoryReactionText(content);
|
||||
|
||||
Reference in New Issue
Block a user