Skip to content

handleslack: handle channel name change#84

Open
rnons wants to merge 3 commits into
mainfrom
rnons/plat-31080
Open

handleslack: handle channel name change#84
rnons wants to merge 3 commits into
mainfrom
rnons/plat-31080

Conversation

@rnons
Copy link
Copy Markdown
Contributor

@rnons rnons commented May 31, 2026

No description provided.

@rnons rnons requested a review from tulir May 31, 2026 12:30
Comment thread pkg/connector/handleslack.go Outdated
Client: s,
ShouldSyncInfo: true,
}
case *slack.ChannelRenameEvent:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's both MsgSubTypeChannelName and ChannelRenameEvent? Do they both get fired? We should probably only handle one

Comment thread pkg/connector/handleslack.go Outdated
meta, metaErr = s.makeEventMeta(ctx, evt.Channel, nil, "", evt.Timestamp)
meta.Type = bridgev2.RemoteEventChatResync
wrapped = &SlackChatResync{
SlackEventMeta: &meta,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we know exactly which field changed, it'd be more appropriate to send a targeted ChatInfoChange event than a full resync

rnons and others added 2 commits June 2, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants