Time Nick Message 02:41 Guest0 Hello. I noticed that the .po translation files are outdated. 02:41 Guest0 My translation file has a link to a non-existent file "builtin/mainmenu/dlg_settings_advanced.lua", maybe others too 02:41 Guest0 Is there any way to create up-to-date versions of the files? 03:56 MisterE123 test 03:57 [MTMatrix] test 03:58 MTDiscord fyi, the matrix bridge is back up 04:12 MisterE123 Matrix bridge is down again due to discord user ids not showing up in matrix 09:34 sfan5 didn't the matrix bridge get disabled?# 09:37 pgimeno this seems to be a matrix bridge bot 09:38 celeron55 i asked on matrix if anyone there would be up for setting up a 3rd party bridge. that's what's happening now 09:39 celeron55 if matrix some day fixes their automatic bridging to libera, then it will be taken out of use obviously 09:39 celeron55 however, there is no timeline for that and people don't seem to be very hopeful 11:34 MTDiscord Unfortunately, as you saw, on matrix the bridge yeets discord user names, so its useless, and I don't have time to figure it out. The only quick solution would be to change how the discord relay displayes discord user names in irc. (so it doesn't include < >) 11:35 MTDiscord So the bot is disabled via the config for now 11:35 MTDiscord *my bot 11:48 MTDiscord I just looked at my phone and realized the discord user id vanishing act is not even a bug with my bridge, its a bug with element desktop. Element mobile displayes the discord user id, element desktop removes the id which is in the format 11:48 Desour do the matrix clients interpret the as xml? 11:49 MTDiscord Desktop 11:49 MTDiscord https://cdn.discordapp.com/attachments/747163566800633906/1144961766334419065/image_20230826074905.png 11:49 MTDiscord Mobile 11:49 MTDiscord https://cdn.discordapp.com/attachments/747163566800633906/1144961809875484682/Screenshot_20230826_073946_Element_20230826074902.jpg 11:50 MTDiscord Desour: possibly? 13:45 celeron55 that's a pretty silly problem to have. is the bridge broken or is element desktop broken? i can't tell as i don't know the protocol 13:47 celeron55 i'd imagine it wouldn't be difficult to modify the bridge to re-format anything that looks like "" to whatever format seems to work on element desktop 13:48 celeron55 requiring changes from the discord bot to aid this doesn't seem fair 13:49 celeron55 but, if you don't have the time, let's wait for a better time (or someone else to make an attempt) 13:51 Desour the matrix bridge is not the only thing that has issues with how discord usernames are displayed. I, for example, also sometimes have a hard time seeing that two messages come from different discord users 13:53 celeron55 what could solve it? 13:53 celeron55 it would be recless to make the bot output colors or something, some people would immediately leave the channel. i think if it's hard to see, you should just set up suitable client side highlighting 13:53 celeron55 reckless* 13:54 Desour the matrix bridge shows its usernames on irc like irc usernames 13:54 celeron55 that was the special integration effort directly between libera and matrix. it's not doable by 3rd parties 13:55 celeron55 and we're at their mercy for when, if ever, they re-launch it. the problem was spam, privacy issues and unreliability from the matrix side, according to libera's reports 13:55 Desour oh, I see 13:56 MTDiscord Is the bridge sending messages as HTML or as Markdown? 13:56 celeron55 anyway, if MisterE doesn't have time to debug his bridge, we're at a dead end here. someone else needs to give it a try 18:57 MTDiscord I'm waiting on a message to GreenXenith to possibly change the format that discord transmits usernames. If it changes to something other than using , then it will work. Also, its a bug with Element, not my bridge 18:58 MTDiscord *change how the discord bridge transmits usernames 18:58 MTDiscord It's most probably a bug with the bridge 18:59 MTDiscord I'm pretty sure the bridge isn't properly escaping the angle brackets and then sending that as raw HTML, which causes the sanitizer to strip the unrecognized tag. 19:00 MTDiscord Have you tried looking at the raw JSON data? (on Element: hover over message > options > show raw data) 19:01 MTDiscord perhaps it's sanitized even earlier by the bridge; that would still be a bridge bug though 19:03 celeron55 https://paste.centos.org/view/raw/8f9e3bed 19:03 celeron55 that's what "view source" shows on element 19:04 MTDiscord yep, I was right: https://github.com/42wim/matterbridge/blob/master/bridge/matrix/matrix.go#L254C5-L254C45 19:04 MTDiscord "format": "org.matrix.custom.html" 19:04 celeron55 so it seems the bridge is broken 19:04 MTDiscord should be a simple fix though 19:04 MTDiscord In config? 19:04 MTDiscord no, in the code 19:04 MTDiscord i linked one such place, grep for them, look up the correct "format" value for plaintext 19:04 MTDiscord You could modify the config to pre-escape the brackets and that should be an adequate workaround. 19:05 MTDiscord It depends on how hard it is to actually change the code; I assume it's nontrivial. 19:05 MTDiscord it's go lmao 19:05 MTDiscord "it's go" doesn't really tell me anything. 19:05 MTDiscord Remember, discord bridge (not my matterbridge) brakets are sanitized 19:06 MTDiscord *removed 19:07 MTDiscord Luatic, if you fix it in the code, I could run your version 19:07 MTDiscord that's what I plan on doing 19:07 MTDiscord one moment 19:07 MTDiscord It would be cool to PR that upstream probably too 19:10 MTDiscord Looks like there is a bool b.GetBool("HTMLDisable") 19:10 MTDiscord you should be able to just set that 19:11 MTDiscord @mistere_123 set HTMLDisable=true in matterbridge.toml 19:11 MTDiscord Disabling html would be better since interpreting instead of just displaying tags from IRC would better match IRC 19:11 MTDiscord Ok! Ill change/try it tonight 22:33 MTDiscord ok, here's a test 22:34 [MTMatrix] MisterE | Yay, the bridge works! Thank you, luatic! 22:35 thelounge650 Or not_luatic, whoever you are calling yourself in Discord (this is a test message) 22:43 MTDiscord np