From: Juliusz Chroboczek <jch@irif.fr>
To: Jeroen van Veen <jvanveen@protonmail.com>
Cc: "galene@lists.galene.org" <galene@lists.galene.org>
Subject: [Galene] Re: groupAction clearchat & lock
Date: Fri, 30 Jul 2021 19:34:14 +0200 [thread overview]
Message-ID: <87bl6ju2nd.wl-jch@irif.fr> (raw)
In-Reply-To: <f_wWDQ4gpAxOWYq5eNYe50j-I-Q4n2O-OeF0vuk85Udtsal2ZRQGjoJma0fBEhu2RsCqLN05gxo3mkbC2IdfdaAVnlMDBXAHu2AQVCL9K1o=@protonmail.com>
> Would it be an idea to trigger user messages for groupAction commands?
> This may be a good place to store the custom message as well? I can't seem
> to get to the custom groupAction message now,
> (e.g. "connection.groupAction('lock', 'My custom message')")
Are you not receiving a message of type "joined", kind "change" when the
group becomes locked? The information you look for should be in the
"status" field.
As to the custom message, perhaps the status field should look like this:
status: {
locked: "custom message"
}
This would still allow testing as a Boolean, except in the case where the
message is empty (damn Javascript).
-- Juliusz
next prev parent reply other threads:[~2021-07-30 17:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-30 14:42 [Galene] " Jeroen van Veen
2021-07-30 15:00 ` [Galene] " Jeroen van Veen
2021-07-30 15:13 ` Jeroen van Veen
2021-07-30 17:40 ` Juliusz Chroboczek
2021-07-30 17:28 ` Juliusz Chroboczek
2021-07-30 17:34 ` Juliusz Chroboczek [this message]
2021-07-30 17:45 ` Juliusz Chroboczek
2021-08-02 18:54 ` Jeroen van Veen
2021-07-30 17:39 ` Juliusz Chroboczek
2021-08-02 18:52 ` Jeroen van Veen
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=87bl6ju2nd.wl-jch@irif.fr \
--to=jch@irif.fr \
--cc=galene@lists.galene.org \
--cc=jvanveen@protonmail.com \
--subject='[Galene] Re: groupAction clearchat & lock' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox