bridgev2: add new flag for slack remote ID migration
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run

This commit is contained in:
Tulir Asokan 2025-10-29 20:52:27 +02:00
commit 0da0175157
2 changed files with 3 additions and 1 deletions

View file

@ -3980,6 +3980,7 @@ func (portal *Portal) getBridgeInfo() (string, event.BridgeEventContent) {
} }
if bridgeInfo.Protocol.ID == "slackgo" { if bridgeInfo.Protocol.ID == "slackgo" {
bridgeInfo.TempSlackRemoteIDMigratedFlag = true bridgeInfo.TempSlackRemoteIDMigratedFlag = true
bridgeInfo.TempSlackRemoteIDMigratedFlag2 = true
} }
parent := portal.GetTopLevelParent() parent := portal.GetTopLevelParent()
if parent != nil { if parent != nil {

View file

@ -246,7 +246,8 @@ type BridgeEventContent struct {
BeeperRoomType string `json:"com.beeper.room_type,omitempty"` BeeperRoomType string `json:"com.beeper.room_type,omitempty"`
BeeperRoomTypeV2 string `json:"com.beeper.room_type.v2,omitempty"` BeeperRoomTypeV2 string `json:"com.beeper.room_type.v2,omitempty"`
TempSlackRemoteIDMigratedFlag bool `json:"com.beeper.slack_remote_id_migrated,omitempty"` TempSlackRemoteIDMigratedFlag bool `json:"com.beeper.slack_remote_id_migrated,omitempty"`
TempSlackRemoteIDMigratedFlag2 bool `json:"com.beeper.slack_remote_id_really_migrated,omitempty"`
} }
// DisappearingType represents the type of a disappearing message timer. // DisappearingType represents the type of a disappearing message timer.