-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URL preview for messages in public rooms that allow guests #25
Comments
Maybe some way to hook into riot-static? @t3chguy, what do you think? |
Previewing a Public Room in general, would be nice in matrix.to |
Ah, I completely missed that this was about individual messages. |
I guess it could be a hybrid, preview the public room and if the event is in memory highlight it |
That might work, if you made it clear, when the event wasn't in memory, that it was just a preview of the whole room. Otherwise it may be confusing for users. |
@uhoreg upon re-reading this seems to be about a URL Preview of matrix.to&the room it points to in Riot, this is not possible unless Synapse grows a thing that executes Javascript as matrix.to is entirely clientside |
At now we have already https://view.matrix.org/ that can do a static preview of most rooms, for example https://view.matrix.org/room/!cURbafjkfsMDVwdRDQ:matrix.org/ so now we can at first easily integrate iframe to matrix.to web pages. Seems Matrix Static at now can't display specific message separately on page, but I think this is not hard to implement, so I post feature request: matrix-org/matrix-static#49 |
Rooms are now preview-able on matrix.to |
Strictly speaking
Will not be possible, given that a room allowing guests would mean that m.to has to create a guest account and join the room
would be achievable |
I was hoping this would be an easy-ish thing to knock out one day while off-hours since this really annoys me each time I post a matrix.to link. It seems that matrix.to currently loads information about the room in the background though, so it wouldn't be easy to embed any Open Graph info into the page itself. One option could be to embed an oEmbed autodiscovery link to a JSON endpoint which returns some information though. This would at least work for Synapse to generate better previews. |
Currently when pasting a permanent link generated from Riot into a channel, there is no URL preview available when wanting to forward a message into another room.
Tested with
which is locally expanded to
The text was updated successfully, but these errors were encountered: