SchildiChat / schildichat-desktop

Matrix client / Element Web/Desktop fork
https://schildi.chat
Apache License 2.0
370 stars 42 forks source link

Use m.bridge bridgebot info for DM avatar generation (MSC2346) #210

Open api33tiramisu opened 10 months ago

api33tiramisu commented 10 months ago

SchildiChat works well with Beeper server, and non-Beeper (bridged) messages are correctly placed in the People section instead of Rooms, but currently they use placeholder image instead of the user avatar.

SpiritCroc commented 9 months ago

Technical details as they come to mind from what I remember: In Beeper-DMs, there tends to be three members (you, the chat partner, and the bridge DM which handles decryption). Accordingly, normal matrix clients do not know which avatar image to use (by not being able to tell apart the bot user from the ghost user). Beeper addresses this by having a state event telling the client who is the bot user.

We could implement the same on SchildiChat, it basically boils down to more or less implementing partial support for MSC2346 as far as I see.