alphapapa / alphapapa/ement.el

Replies without replied-to content in reply body

オープン
#57 コメント 6 件 リアクション 0 件 担当者 1 名 @alphapapa が担当を希望しています GitHub で見る
discussion enhancement priority:C
主要言語
Emacs Lisp
スター
604
フォーク
54
PR マージ指標
30日以内にマージされた PR はありません

説明

Some clients don't have the replied to message in body or format_body fields. So one has to rely on the event_id cited in m.relates_to->m.in_reply_to. Example of such an event is (I stripped out the id),

```
((:id . "ID")
(:sender . "@_discord_296842705454235650:t2bot.io")
(:content
(body . "sheesh u passed out at 4pm?")
(format . "org.matrix.custom.html")
(formatted_body . "sheesh u passed out at 4pm?")
(m\.relates_to
(m\.in_reply_to
(event_id . "$TluJm8weVHXI3gwsD-kSeI1HM3UOGIzqe8b-ybmdyb4")))
(msgtype . "m.text"))
(:origin-server-ts . 1648191029121)
(:type . "m.room.message")
(:state-key)
(:unsigned))
```

This is from the t2bot bridging a discord channel and a matrix room.

I can take a stab at implementing this on May.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。