feat: Add TikTok social profile display support (#13384)

Fixes
https://linear.app/chatwoot/issue/PLA-77/store-tiktok-user-id-in-contact-attributes
Adds support for displaying TikTok profile links in the contact sidebar,
matching the behavior of other social channels (Instagram, Facebook,
Twitter, etc.).

<img width="400" height="600" alt="CleanShot 2026-01-28 at 15 48 14@2x"
src="https://github.com/user-attachments/assets/c861e6af-6a45-40ff-a4bf-7d46b8937691"
/>
This commit is contained in:
Muhsin Keloth
2026-01-29 09:26:10 +04:00
committed by GitHub
parent 77493c5d0f
commit acd0f1457e
3 changed files with 3 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ module Tiktok::MessagingHelpers
{
# TODO: Remove this once we show the social_tiktok_user_name in the UI instead of the username
username: from,
social_profiles: { tiktok: from },
social_tiktok_user_id: from_id,
social_tiktok_user_name: from
}