!jxlRxnrZCsjpjDubDX:matrix.org

#matrix-dev:matrix.org

2241 Members
Dev chat for everyone building on top of Matrix | http://github.com/matrix-org468 Servers

Load older messages


SenderMessageTime
26 Jan 2023
@x:riot.ovhMichael (t3chguy) changed their profile picture.19:04:14
@tulir:maunium.nettulir
In reply to @andrei.diaconescu:matrix.org
hello i am trying to access the preview media endpoint (https://spec.matrix.org/v1.5/client-server-api/#get_matrixmediav3preview_url) but i do not understand how to use it well what should be used as the parameter: "url: The URL to get a preview of." ?
that's the url preview endpoint
19:24:55
@willjc:matrix.orgwilljc
In reply to @jdmyers:matrix.org

hey everyone, I've got a question about push notification implementation in regards to developing a matrix client. its a bit lengthy so I've posted it to stack overflow: https://stackoverflow.com/questions/75239348/matrix-client-push-notification-implementation-question

I'd appreciate any insight y'all might have!

Maybe answer but needs to be tested -

The client sets what it wants to happen with push notifications using the endpoint /pushers/set
https://spec.matrix.org/unstable/client-server-api/#push-notifications

The docs say the only format is "event_id_only" but maybe this can be set to null.

21:13:00
@willjc:matrix.orgwilljc *

Maybe answer but needs to be tested -

The client sets what it wants to happen with push notifications using the endpoint /pushers/set
https://spec.matrix.org/unstable/client-server-api/#push-notifications

The docs say the only format is "event_id_only" but maybe this can be set to null. Can anyone confirm that?

21:13:21
@nep_nep:matrix.bottomservices.clubNep Nep (dms always open) looking into fallback auth again, is authDone just not sent if authentication fails? so clients should have a timeout for receiving it? 21:36:32
@dm4m4n:matrix.orgdm4m4nAnyone have experience enabling oEmbed for their matrix client? Wondering how to get this to work for embedded messages content https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#oembed23:50:37
@tulir:maunium.nettulirit's just an alternative method of generating url previews23:53:55
@dm4m4n:matrix.orgdm4m4n
In reply to @tulir:maunium.net
it's just an alternative method of generating url previews
Got it. Is there a different formats in the messages to display embedded?
23:59:19
27 Jan 2023
@tulir:maunium.nettulirclients need to have UI for url previews of course, other than that there's nothing special, clients that support url previews will generally just detect urls in the text and pick one or more to preview00:02:51
@tulir:maunium.nettulirhttps://duck.com00:03:27
@tulir:maunium.nettulirimage.png
Download image.png
00:03:45
@tulir:maunium.nettulirthe red box is the url preview00:03:59
@dm4m4n:matrix.orgdm4m4n Right that makes sense. I just know for the client UI can run into CORS issues so wondering how the oEmbed or the standard url preview helps prevent that 00:05:36
@dm4m4n:matrix.orgdm4m4nI'll have to dig further tho unless I'm totally missing something hereb00:06:26
@tulir:maunium.nettulirclients don't know anything about oEmbed, url previews are fetched through the homeserver00:06:26
@dm4m4n:matrix.orgdm4m4n
In reply to @tulir:maunium.net
clients don't know anything about oEmbed, url previews are fetched through the homeserver
Ahh
00:06:38
@tulir:maunium.nettulirhttps://spec.matrix.org/v1.5/client-server-api/#get_matrixmediav3preview_url00:06:40
@dm4m4n:matrix.orgdm4m4n Thank you 00:06:46
@dm4m4n:matrix.orgdm4m4nPerfextn00:06:52
@dm4m4n:matrix.orgdm4m4n* Perfect00:07:00
@dm4m4n:matrix.orgdm4m4nForgot that was in the docs 😅00:07:23
@nep_nep:matrix.bottomservices.clubNep Nep (dms always open)
In reply to @nep_nep:matrix.bottomservices.club
looking into fallback auth again, is authDone just not sent if authentication fails? so clients should have a timeout for receiving it?
am i correct?
01:29:09
@abdullahi:matrix.org𝕬𝖇𝖉𝖚𝖑𝖑𝖆𝖍𝖎 changed their display name from abdullahi to 𝕬𝖇𝖉𝖚𝖑𝖑𝖆𝖍𝖎.08:55:22
@abdullahi:matrix.org𝕬𝖇𝖉𝖚𝖑𝖑𝖆𝖍𝖎 changed their profile picture.08:57:11
@unizoha:matrix.orgunizohaHey everybody, I'm trying to figure out if it's possible to allow a user to see events from the time they received the invitation before they join the room without changing the room to "world-readable"? The use case is the next: I want users to see events from when they were invited so they can decide on joining the room. 14:37:41
@unizoha:matrix.orgunizohaanother option might be just to allow a user to see the entire room history if they were invited into it. But anyway, I don't see how to make it possible with the current visibility levels14:59:56
@liebesprinz:matrix.orgLP Hi, is there a way to get the "access_token" provided by the OIDC identity provider to allow a subsequent request to the REST API (of the OIDC identity provider) by the client? 15:02:12
@xelivous:matrix.org@xelivous:matrix.org left the room.16:00:21
@vse94131:matrix.orgSuneel Kumar joined the room.19:25:36
@vse94131:matrix.orgSuneel KumarHi19:32:40

There are no newer messages yet.


Back to Room List