diff options
| author | Sacha Chua <sacha@sachachua.com> | 2026-11-06 20:59:32 -0500 |
|---|---|---|
| committer | Sacha Chua <sacha@sachachua.com> | 2026-11-06 20:59:32 -0500 |
| commit | 15d6df42af6ce872fea3b254f057a8d99ba576c9 (patch) | |
| tree | e4359932f18301ad9b9762415964b9eec1819b20 /emacsconf-publish.el | |
| parent | c40dc83b42de3b666bf877af0fe678313b90ecd5 (diff) | |
| download | emacsconf-el-15d6df42af6ce872fea3b254f057a8d99ba576c9.tar.xz emacsconf-el-15d6df42af6ce872fea3b254f057a8d99ba576c9.zip | |
add moderator code to URL to prefill
Diffstat (limited to '')
| -rw-r--r-- | emacsconf-publish.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/emacsconf-publish.el b/emacsconf-publish.el index 50eebc1..06f2d05 100644 --- a/emacsconf-publish.el +++ b/emacsconf-publish.el @@ -2823,7 +2823,7 @@ when the host has opened the Q&A.</p> (lambda (talk) (emacsconf-publish-bbb-redirect talk (intern state))) (emacsconf-publish-prepare-for-display (emacsconf-get-talk-info))))) - '("before" "open" "after"))) + '("mod" "before" "open" "after"))) (defun emacsconf-publish-bbb-redirect (talk &optional status) "Update the publicly-available redirect for TALK." @@ -2846,6 +2846,9 @@ The live Q&A room for ${title} is now open. You should be redirected to <a href= ('after "<html><head><body> The Q&A room for ${title} has finished. You can find more information about the talk at <a href=\"${base-url}${url}\">${base-url}${url}</a>.</body></html>") + ('mod + "<html><head><meta http-equiv=\"refresh\" content=\"0; URL=${bbb-room}?viewerCode=${bbb-mod-code}\"></head><body> +The live Q&A room for ${title} is now open. You should be redirected to <a href=\"${bbb-room}?viewerCode=${bbb-mod-code}\">${bbb-room}/join?viewerCode=${bbb-mod-code}</a> automatically, but if not, please visit the URL manually to moderate the Q&A.</body></html>") (_ "<html><head><body> There is no live Q&A room for ${title}. You can find more information about the talk at <a href=\"${base-url}${url}\">${base-url}${url}</a>.</body></html>" |
