feat(chat): add voice message bubbles
This commit is contained in:
@@ -114,7 +114,9 @@ function deriveUiLockFields(
|
||||
| undefined,
|
||||
imageUrl?: string | null,
|
||||
): Partial<UiMessage> {
|
||||
const isPrivateMessage = lockDetail?.reason === "private_message";
|
||||
const isPrivateMessage =
|
||||
lockDetail?.reason === "private_message" ||
|
||||
lockDetail?.reason === "voice_message";
|
||||
return {
|
||||
...(imageUrl ? { imageUrl } : {}),
|
||||
...(imageUrl && lockDetail?.showUpgrade ? { imagePaywalled: true } : {}),
|
||||
|
||||
Reference in New Issue
Block a user