Skip to content

MSC2346: Bridge information state event#2346

Open
Half-Shot wants to merge 28 commits intoold_masterfrom
hs/msc-bridge-inf
Open

MSC2346: Bridge information state event#2346
Half-Shot wants to merge 28 commits intoold_masterfrom
hs/msc-bridge-inf

Conversation

@Half-Shot
Copy link
Copy Markdown
Contributor

@Half-Shot Half-Shot commented Nov 5, 2019

@Half-Shot Half-Shot changed the title MSC 2346: Bridge information state event [WIP] MSC 2346: Bridge information state event Nov 5, 2019
@Half-Shot Half-Shot changed the title [WIP] MSC 2346: Bridge information state event [WIP] MSC2346: Bridge information state event Nov 5, 2019
@turt2live turt2live added the proposal A matrix spec change proposal label Nov 5, 2019
Comment thread proposals/2346-bridge-info-state-event.md Outdated
Comment thread proposals/xxxx-bridge-info-state-event.md Outdated
@Half-Shot
Copy link
Copy Markdown
Contributor Author

Note: I also want to modify publicRooms to return information in these state events, since it's useful information to anyone wanting to join a room.

@Half-Shot Half-Shot changed the title [WIP] MSC2346: Bridge information state event MSC2346: Bridge information state event Dec 2, 2019
@Half-Shot
Copy link
Copy Markdown
Contributor Author

This is probably ready for review now.

Copy link
Copy Markdown
Member

@uhoreg uhoreg left a comment

Choose a reason for hiding this comment

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

Largely looks good, but have added some bikeshedding and nit picking.

Comment thread proposals/2346-bridge-info-state-event.md Outdated
Comment thread proposals/2346-bridge-info-state-event.md Outdated
Comment thread proposals/2346-bridge-info-state-event.md
Comment thread proposals/2346-bridge-info-state-event.md Outdated
Copy link
Copy Markdown
Member

@benparsons benparsons left a comment

Choose a reason for hiding this comment

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

two small points

Comment thread proposals/2346-bridge-info-state-event.md Outdated
Comment thread proposals/2346-bridge-info-state-event.md
Copy link
Copy Markdown
Member

@uhoreg uhoreg left a comment

Choose a reason for hiding this comment

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

Some more nit picking

Comment thread proposals/2346-bridge-info-state-event.md Outdated
Comment thread proposals/2346-bridge-info-state-event.md Outdated
Co-Authored-By: Hubert Chathi <hubert@uhoreg.ca>
@Half-Shot
Copy link
Copy Markdown
Contributor Author

Half-Shot commented Dec 4, 2019

Added a Slack bridge POC. This means that we now have full implementation for both sides :)

Comment thread proposals/2346-bridge-info-state-event.md
Comment thread proposals/2346-bridge-info-state-event.md
Comment thread proposals/2346-bridge-info-state-event.md
Copy link
Copy Markdown
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

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

overall this is feeling fine, but the further exposure of the awful third party network API is a bit worrying.

"avatar_url": "mxc://foo/bar", // Optional
"external_url": "irc://chat.freenode.net" // Optional
},
"channel": {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit: Why are we calling this a channel? In Matrix we call these rooms so doesn't it make sense to use the local terminology. Basically "the thing in the source protocol which maps to a room in Matrix". For example if the remote network has groups and Matrix has rooms why are we calling the field channel?

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.

The same applies for network, as it's used in a fairly similar way as spaces. I think I slightly prefer using "foreign" terms though, since the whole point of this event is bridging to other protocols.

Copy link
Copy Markdown
Contributor

@kevincox kevincox Mar 6, 2026

Choose a reason for hiding this comment

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

The problem is that each network will have a different foreign term. So in many cases this term will apply to neither Matrix nor the remote protocol. If we want it to sound "foreign" why not call it foreign_room?

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.

The naming is mentioned in the alternatives section now

Comment thread proposals/2346-bridge-info-state-event.md Outdated
Comment thread proposals/2346-bridge-info-state-event.md
Comment thread proposals/2346-bridge-info-state-event.md
@richvdh
Copy link
Copy Markdown
Member

richvdh commented Aug 3, 2021

This looks to be back with @Half-Shot.

Comment thread proposals/2346-bridge-info-state-event.md
@clokep clokep mentioned this pull request Feb 25, 2023
tulir added 5 commits March 7, 2026 00:49
Signed-off-by: Tulir Asokan <tulir@maunium.net>
Signed-off-by: Tulir Asokan <tulir@maunium.net>
Signed-off-by: Tulir Asokan <tulir@maunium.net>
Signed-off-by: Tulir Asokan <tulir@maunium.net>
Signed-off-by: Tulir Asokan <tulir@maunium.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

application services kind:feature MSC for not-core and not-maintenance stuff proposal A matrix spec change proposal

Projects

None yet

Development

Successfully merging this pull request may close these issues.