mautrix / slack

A Matrix-Slack puppeting bridge
GNU Affero General Public License v3.0
61 stars 17 forks source link

Receiving one invitation for each channel and private conversation on bot (re)start #36

Open Coniface opened 9 months ago

Coniface commented 9 months ago

Here is my backfill configuration:

backfill:
        # Allow backfilling at all? Requires MSC2716 support on homeserver.
        enable: false
        # Maximum number of conversations to fetch from Slack when syncing team from Slack.
        # Must be 0-999
        conversations_count: 0

Yet, the first time the container started up, I had 80 invites from all the channels and private messages of my Slack. I rejected them one by one to keep a clean UI in Element but each time the mautrix-slack container restarts, I get those same 80 invites again.

It is the only bridge that does that to me. Does anyone else experiences the same behaviour and knows how to fix it?

Like any other bridge, I'd expect to receive an invite only if a new message has been sent in one of the 80 channels.

Coniface commented 9 months ago

Seems it could be resolved thanks to #35

I will update the issue once the PR is merged.

Coniface commented 9 months ago

I tested with the updated docker image after #35 was merged and it does not solve the issue.

dandehavilland commented 2 months ago

I think setting conversations_count to 0 is the same as saying there is no limit. If you set it to 1 then you will only get 1.

Coniface commented 1 month ago

Even though, the invitations should not be resent each time the bridge restarts.