emulsion
emulsion copied to clipboard
XMPP ↔ Telegram bridge
See here: https://github.com/codingteam/emulsion/blob/eb05ad04125a96ee71f01448749a6a5507718e6d/Emulsion/Program.fs#L40 and here: https://github.com/codingteam/emulsion/blob/54dcb2a087907274124a5981a0c15290c078ecd1/Emulsion/Xmpp/XmppClient.fs#L15
This stems from [a small discussion we had in Codingteam](https://codingteam.org.ru/_logs/codingteam%40conference.jabber.ru/2021/07/20.html#09:20:12.349174). Key points are: * in Matrix, it's normal to send large, multi-line messages. The protocol natively supports Markdown, and clients...
As of now, no reaction to XMPP MUC topic update has been observed.
From time to time, we receive quoted messages from XMPP. Consider [this excerpt from XMPP log](https://codingteam.org.ru/_logs/codingteam%40conference.jabber.ru/2020/08/10.html#08:29:00.161288): ``` [08:29:00] Вон, тот же unclechu не отделяет в своих сообщениях цитату от ответа....
Some XMPP clients embed images in XHTML like this: ``` Получено 35448 байт изображения. ``` We should either find a way to redirect XHTML as-is or at least to extract...
There's a hot discussion happening between our glorious Dr. @ForNeVeR and his mere servant, @ForNeVeR, in scope of #18: → > @ForNeVeR please investigate thread safety of our current solution...
Consider that a Telegram user applies a "strikethrough" formatting to their text. When this text gets transmitted over to XMPP, it doesn't gets formatted properly. We should fix it somehow....
Currently this code manages the application lifetime: https://github.com/codingteam/emulsion/blob/877144c59a8c8eb3a26b6f69f9b5b6f309ee83ec/Emulsion/Program.fs#L25-L58 As you can see, nothing stops any message system from completely failing (i.e. kill the child async started in `startMessageSystem`), but the...
Let's use `JetBrains.Dataflow.Lifetime` here to prevent the following case: 1. Thread 1 performs `Volatile.Read` (and reads the "good" client) 2. Thread 2 performs `Volatile.Write(None)` 3. Thread 1 starts to perform...