Sender | Message | Time |
---|---|---|
15 May 2024 | ||
* btw my bridge is now pretty much done for my personal use :) so from knowing nothing about bridge development, to harassing tulir a dozen times, to finishing it, took around a week. the gmessages and whatsapp repos helped a lot I'll see if I can add some docs or a quickstart boilerplate after cleaning this up (just in time for it being useless once v2 gets out haha) | 03:13:31 | |
haha you don't wanna see the code 😂 | 03:13:41 | |
* btw my bridge is now pretty much done for my personal use :) so from knowing nothing about bridge development, to harassing tulir a dozen times, to finishing it, took around a week. the gmessages and whatsapp repos helped a lot I'll see if I can add some docs or a quickstart boilerplate after cleaning this up (just in time for it being useless once v2 gets out haha). I think the hardest part was probably getting started and getting a minimal version running | 03:14:42 | |
* btw my bridge is now pretty much done for my personal use :) so from knowing nothing about bridge development, to harassing tulir a dozen times, to finishing it, took around a week. the gmessages and whatsapp repos helped a lot I think the hardest part was probably getting started and getting a minimal version running, the rest was more smooth from there I'll see if I can contribute some docs or a quickstart boilerplate after cleaning this up (just in time for it being useless once v2 gets out haha) | 03:18:21 | |
* btw my bridge is now pretty much done for my personal use :) so from knowing nothing about bridge development, to harassing tulir a dozen times, to finishing it, took around a week which isn't so bad, thanks to the awesome work available on github. the gmessages and whatsapp repos helped a lot I think the hardest part was probably getting started and getting a minimal version running, the rest was more smooth from there I'll see if I can contribute some docs or a quickstart boilerplate after cleaning this up (just in time for it being useless once v2 gets out haha)e | 03:37:48 | |
17:51:38 | ||
16 May 2024 | ||
I'm trying to use Tried to use the DoublePuppet intent, but also experimented with bridge.AS.Client(userID) or the bot intent What access token does this one need? Any ideas? | 12:16:43 | |
trying to mark the conversations as DM | 12:17:18 | |
beeper probably doesn't allow setting account data with double puppeting anymore | 12:17:41 | |
ah, no it does, I'm able to hit the API on matrix.beeper.com directly through https://playground.matrix.org/#get-/_matrix/client/v3/user/-userId-/account_data/-type- | 12:18:10 | |
global account data is currently stored in synapse, so modifying it requires a synapse token, but bridges don't get synapse tokens anymore because they don't need to send anything to synapse | 12:20:22 | |
hmmm I see | 12:20:52 | |
(and beeper clients don't care about m.direct anyway) | 12:21:30 | |
so do we have any way to actually mark as DM from a bridge then? | 12:21:49 | |
the m.bridge event has a room type field, but I don't remember if that's actually used or not | 12:22:49 | |
but beeper clients also don't have any separate view for DMs, so not sure why you want to mark something as a DM 🤔 | 12:23:06 | |
venturing into bridge development made me kinda like Element 🙈 but the room/people thing is very chaotic, so wanted to do my part and get my bridge to mark it's stuff as DMs properly | 12:24:06 | |
yeah there is also IsDirect when calling CreateRoom but doesn't seem to actually mark it as dm | 12:24:58 | |
hmm yeah, is_direct really doesn't seem to do much, that's weird, rooms still getting created as normal rooms. it's still in the spec tho https://playground.matrix.org/#post-/_matrix/client/v3/createRoom | 14:47:51 | |
there are no abnormal rooms (except spaces) | 14:48:54 | |
is_direct is just a suggestion to the receiving client that it may want to add the room to m.direct, nothing else | 14:49:12 | |
I meant they don’t appear under m.direct when they should 🤔 | 14:49:49 | |
the client that accepts the invite has to add it | 14:50:56 | |
that's what I meant by "suggestion to the receiving client" | 14:51:08 | |
oh, I assumed it means it’s automatically getting added to accountData m.direct on the server | 14:51:35 | |
Hi there, did I understand this correctly: Maunium is the go framework is the framework which can be/get used for creating matrix bridges? | 15:18:39 | |
Yup | 15:18:59 | |
Okay, thanks! The link formatting was a bit unfortunate xd | 15:19:15 | |
In reply to @pulsedev:pulseflow.chmautrix-go is the go framework | 15:19:36 | |
In reply to @tulir:maunium.netYeah, sorry the link got wrongly formatted :D Skill issue | 15:19:52 |