diff --git a/apps/ios/Shared/Views/Chat/Group/ChannelWebAccessView.swift b/apps/ios/Shared/Views/Chat/Group/ChannelWebAccessView.swift index 25d8090735..f84dce87bf 100644 --- a/apps/ios/Shared/Views/Chat/Group/ChannelWebAccessView.swift +++ b/apps/ios/Shared/Views/Chat/Group/ChannelWebAccessView.swift @@ -125,9 +125,10 @@ struct ChannelWebAccessView: View { !relayDomains.isEmpty { """
+ data-channel-link="\(pg.groupLink)" + data-channel-id="\(pg.publicGroupId)" + data-relay-domains="\(relayDomains.joined(separator: ","))" + > """ } else { diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/ChannelWebPageView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/ChannelWebPageView.kt index eaf5386d66..a948f0830a 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/ChannelWebPageView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/ChannelWebPageView.kt @@ -176,8 +176,9 @@ private fun embedCode(groupRelays: List, groupInfo: GroupInfo): Stri if (relayDomains.isEmpty()) return null val domains = relayDomains.joinToString(",") return """
+ data-channel-link="${pg.groupLink}" + data-channel-id="${pg.publicGroupId}" + data-relay-domains="$domains" +> """ } diff --git a/website/channel_sample.html b/website/channel_sample.html index 23214212d3..d102c76ceb 100644 --- a/website/channel_sample.html +++ b/website/channel_sample.html @@ -11,8 +11,7 @@ -