Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: Juliusz Chroboczek <jch@irif.fr>
To: KOS <sv3ora@qrp.gr>
Cc: galene@lists.galene.org
Subject: [Galene] Re: Message from KOS
Date: Tue, 23 Jan 2024 15:11:27 +0100	[thread overview]
Message-ID: <87h6j4ywa8.wl-jch@irif.fr> (raw)
In-Reply-To: <Mr.STiHJkVoYr-.xV1KA2knpXd@qrp.gr>

> Hello, I have created in Galene a channel accessed publicly without
> username, but with a password.
> 
> I wonder if there is the ability (or how it can be done), every time
> a user joins this channel, galene to be able to send an email notification
> to a list of predefined emails?

https://en.wikipedia.org/wiki/Jamie_Zawinski#Zawinski's_Law

It should be quite easy to write a bot that monitors the channel and sends
an email whenever somebody joins.

You could start with the code here:

  https://github.com/jech/galene-file-transfer/blob/master/galene-file-transfer.go

and remove all of the code in the main loop, and send an email when you
receive a message of type "user" with kind "add":

  https://github.com/jech/galene-file-transfer/blob/master/galene-file-transfer.go#L291

Please let me know if you need help.

-- Juliusz

      reply	other threads:[~2024-01-23 14:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20 12:19 [Galene] " KOS
2023-12-20 13:57 ` [Galene] " Juliusz Chroboczek
2023-12-20 18:20   ` KOS
2023-12-20 22:22     ` Juliusz Chroboczek
2023-12-20 22:28       ` KOS
2024-01-23 10:24         ` KOS
2024-01-23 14:11           ` Juliusz Chroboczek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h6j4ywa8.wl-jch@irif.fr \
    --to=jch@irif.fr \
    --cc=galene@lists.galene.org \
    --cc=sv3ora@qrp.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox