mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
bridgev2: add new flag for slack remote ID migration
This commit is contained in:
parent
1edfccb4e2
commit
0da0175157
2 changed files with 3 additions and 1 deletions
|
|
@ -3980,6 +3980,7 @@ func (portal *Portal) getBridgeInfo() (string, event.BridgeEventContent) {
|
|||
}
|
||||
if bridgeInfo.Protocol.ID == "slackgo" {
|
||||
bridgeInfo.TempSlackRemoteIDMigratedFlag = true
|
||||
bridgeInfo.TempSlackRemoteIDMigratedFlag2 = true
|
||||
}
|
||||
parent := portal.GetTopLevelParent()
|
||||
if parent != nil {
|
||||
|
|
|
|||
|
|
@ -246,7 +246,8 @@ type BridgeEventContent struct {
|
|||
BeeperRoomType string `json:"com.beeper.room_type,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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue