spreed icon indicating copy to clipboard operation
spreed copied to clipboard

[Enhancement] Allow to use telegram Bridge Bot multiple times

Open sirdrakeistda opened this issue 4 years ago • 2 comments

In Matterbridge this is not a issue. I think the problem is that talk_matterbridge starts for every conversation a new matterbridge instance.

Problem

At the moment it is only possible to use a telegram Bridge bot for one single Group Bridge (e.g. group1_telegram <-> group1_nc) I can't use the same bot the same time for another group (e.g. group2_telegram <-> group2_nc). This is because talk_matterbridge creates second stream for fetching the messages from the telegram API. But there is only one stream allowed, so a Telegram Bridge Bot configured for two Groups will fail.

Solution:

talk_matterbridge should only start one single matterbridge instance. With this using the same bot a second time should work. Furthermore this consumes less resources.

sirdrakeistda avatar Mar 01 '21 10:03 sirdrakeistda

This will need to be done in the spreed repo. Moving the issue.

gary-kim avatar Mar 02 '21 01:03 gary-kim

This issue affects not only telegram bot. Also other connections/acounts (e.g. XMPP could) only be used for one single bridge at the same time.

sirdrakeistda avatar Oct 29 '21 10:10 sirdrakeistda