update embed code

This commit is contained in:
Evgeny Poberezkin
2026-06-02 18:07:47 +01:00
parent 1a3c4e5a59
commit e6aa70af21
3 changed files with 9 additions and 8 deletions
@@ -176,8 +176,9 @@ private fun embedCode(groupRelays: List<GroupRelay>, groupInfo: GroupInfo): Stri
if (relayDomains.isEmpty()) return null
val domains = relayDomains.joinToString(",")
return """<div data-simplex-channel-preview
data-relay-domains="$domains"
data-channel-id="${pg.publicGroupId}"
data-channel-link="${pg.groupLink}"></div>
data-channel-link="${pg.groupLink}"
data-channel-id="${pg.publicGroupId}"
data-relay-domains="$domains"
></div>
<script src="https://simplex.chat/js/channel-preview.js"></script>"""
}