Closed austinhuang0131 closed 8 months ago
remind me to cherrypick later
fair warning: i will have to let coreToMessage
return a list of messages because matrix doesn't allow more than 1 attachments per message, or attachments with text
fair warning: i will have to let
coreToMessage
return a list of messages because matrix doesn't allow more than 1 attachments per message, or attachments with text
that should be fine and isn't out of the ordinary, bolt-guilded does that to allow for file uploads (at least on the 0.4.x-deno
branch). also, you can split those functions into their own file if you want to
remind me to cherrypick later
cherry pick the stuff outside of bolt-matrix pls
jsyk 0.5.5 was merged (see #44) so there're a few merge conflicts and public api changed but i can fix those for you if you'd like
see austinhuang0131/bolt#1
thats not quite what i wanted to do, whoops
i couldn't actually redo this in a sane way so i guess ill try to find a way to implement embeds and stuff or you could make a pr
in principle embeds is just converting to some html that looks similar. for allowed tags see https://spec.matrix.org/v1.10/client-server-api/#mroommessage-msgtypes
attachments would be more complicated since it requires uploading first, then attaching the mxc to the message. for custom emotes it'd also need to work the same way, but you'll need to use some db to store emoji-to-mxc mappings.
html? good luck converting that
images? use the download url on the homeserver
I think when you merge by mistake you closed the tied issues :) I saw the email and was all happy! Only to come here and see it was a mistake :D :D cheers.
gotta get it out of proof of concept