YunoHost-Apps / mautrix_telegram_ynh

Matrix Telegram pupetting bridge for YunoHost
https://github.com/mautrix/telegram
GNU General Public License v3.0
14 stars 4 forks source link

Making it work with non-Synapse servers ? #30

Open rakoo opened 1 year ago

rakoo commented 1 year ago

Hey there !

This recipe is supposed to work with Synapse, which is great, but not with other matrix servers. Is it possible to check what server is used and adapt to it ? Or would it be better to have another recipe specifically for each server ?

thardev commented 1 year ago

Hi @rakoo :) I think that could be a great feature. I need to check how to do it, I'm not sure if it would be that easy, because right now some parts of the scripts are specific to Synapse but I could give a look how to implement it to e.g. Dendrite. I'll let you know when I do some progress 👍

rakoo commented 1 year ago

Amazing :)

There are other bridges i'm interested in (Signal and Facebook primarily) so I guess there might be some common work for those as well.

In any case I'm ready to be a guinea pig, so feel free to send something I might try :)

Gredin67 commented 11 months ago

this should be quite straightforward to implement this in the script/config now that config panels are available in mautrix_whatsapp and https://github.com/YunoHost-Apps/synapse_ynh/pull/356 We just need to copy this piece of code to a setter in script/config https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh/blob/master/scripts/install#L191-L201

And this script should be added to dendrite https://github.com/YunoHost-Apps/synapse_ynh/blob/master/sources/update_synapse_for_appservice.sh