mautrix / slack

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

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

Closed Coniface closed 4 months ago

Coniface commented 1 year 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 1 year ago

Seems it could be resolved thanks to #35

I will update the issue once the PR is merged.

Coniface commented 1 year ago

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

dandehavilland commented 7 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 6 months ago

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