Hello everyone,
I maintain the Olvid integration (end-to-end encrypted messaging). The Olvid team has made a request that I can’t handle without an evolution of Gladys: Feature Idea: Administrative Association of Olvid Contacts to Gladys Users · Issue #36 · prohand/gladys-olvid · GitHub
Today
For bidirectional messaging integrations (like Telegram, Olvid…), the only way to link a contact to a Gladys user is through a code: the user clicks on “Link my account,” receives a short code, and sends it to the bot.
This works for public channels, where anyone can write to the bot. But on some channels, the administrator already controls who becomes a contact (Olvid: a contact only exists after a mutual invitation accepted by the bot). There, the code adds a step for each user, and the administrator has no place to see and manage the links.
Proposal
- The integration sends the list of its contacts to Gladys (as it already sends its discovered devices).
- On the integration page, a screen reserved for administrators: each contact with a list of Gladys users. Choosing a user creates the link, clearing the field removes it.
- Option to enable in the integration manifest: channels where anyone can join the bot keep only the code.
- Optionally: an event “contact linked/unlinked” so the integration can greet the user or stop responding to them.
Security
- Only an administrator can link without a code; the code remains for everyone else.
- The integration never decides on a link: it only suggests contacts.
- Removing a link takes effect immediately.
This would be useful for all messaging integrations, not just Olvid. In the meantime, the Olvid integration 1.6.0 offers an “administrator-controlled mode” (manually accepted invitations, unlinked contacts ignored), but each person still has to send their code once.
I can help on the SDK side and test with the Olvid integration.
Thanks!