mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 17:31:55 +00:00
update embed code
This commit is contained in:
3 files changed
+9
-8
No files matched your search
+4
-3
@@ -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>"""
|
||||
}
|
||||
Reference in new issue
Block a user