feat: multi-server support #8

Open
rlahfa wants to merge 2 commits from multi-server into master
Owner

The strategy is to make a hash map of IRC servers and start as many handlers as we have servers, once we receive a message for Signal, we create a mapping to server/channel and we use the right sender.

Signed-off-by: Ryan Lahfa ryan@dgnum.eu

The strategy is to make a hash map of IRC servers and start as many handlers as we have servers, once we receive a message for Signal, we create a mapping to server/channel and we use the right sender. Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
rlahfa added 1 commit 2024-10-11 10:28:38 +02:00
This is done.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
Owner

SignalMessageBuilder::server is nerver called. it will always fail thus.

SignalMessageBuilder::server is nerver called. it will always fail thus.
mdebray added 1 commit 2024-10-11 11:55:19 +02:00
Owner

I pushed a "fix". Some borrow errors are remaining (may be we will have troubles sharing the signal related stuff between all the irc handlers)

I pushed a "fix". Some borrow errors are remaining (may be we will have troubles sharing the signal related stuff between all the irc handlers)
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin multi-server:multi-server
git checkout multi-server

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout master
git merge --no-ff multi-server
git checkout multi-server
git rebase master
git checkout master
git merge --ff-only multi-server
git checkout multi-server
git rebase master
git checkout master
git merge --no-ff multi-server
git checkout master
git merge --squash multi-server
git checkout master
git merge --ff-only multi-server
git checkout master
git merge multi-server
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: mdebray/signal-irc-bridge#8
No description provided.