Invite to a conversation: a passkey with us and a time in the lobby on chat.uhhm.no

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
This commit is contained in:
Bendik Aagaard Lynghaug
2026-10-01 18:09:13 +02:00
co-authored by Claude Opus 5.5
parent e00b9cfa0b
commit a6930233a5
2 changed files with 55 additions and 0 deletions
+49
View File
@@ -76,6 +76,55 @@ alternatives:
type: textarea type: textarea
optional: true optional: true
# A guest for a conversation on chat.uhhm.no: an account at id.uhhm.no
# with a passkey of their own, a place in cnats_users (which is what
# lets someone into the lobby, where the video calls are), and a mail
# saying when to turn up. The link lasts 24 hours.
- name: Invite to a conversation
description: >
Someone you want to talk to on chat.uhhm.no. They get a mail with
a link to make a passkey with us (valid for 24 hours) and the time
to turn up in the lobby, where the video is.
consequence: [Send the invite]
invite:
group: cnats_users
mail:
subject: "Samtale med {site_name} {tidspunkt}"
body: |-
Hei {name},
Du er invitert til en samtale på chat.uhhm.no {tidspunkt}.
Først lager du en passnøkkel hos oss. Åpne lenken under, legg
til en passnøkkel, og trykk «Save» til slutt. Uten Save blir
den ikke lagret. Lenken virker fram til {expires}:
{link}
Brukernavnet ditt er {username}.
Når tiden er inne, går du til https://chat.uhhm.no, logger inn
med passnøkkelen og havner i lobbyen. Der trykker du på
videoknappen, så er vi der.
{notat}
features:
- name: ""
description: Who, and when to meet in the lobby.
requirements:
- name: name
label: Name
- name: email
label: Email
type: email
- name: tidspunkt
label: When
type: datetime-local
- name: notat
label: A line for them (optional)
type: textarea
optional: true
- name: Projects - name: Projects
description: "" description: ""
action: /review action: /review
+6
View File
@@ -4,3 +4,9 @@
hero: hero:
kind: module kind: module
module: hero.js module: hero.js
# Mail goes out through gdo on this host, which sends over JMAP as
# bl@uhhm.no; replies come back to the same address.
mail:
from: "Bendik Lynghaug <bl@uhhm.no>"
reply_to: bl@uhhm.no