Archived
1
0
Fork 0
Commit graph

21 commits

Author SHA1 Message Date
6345bb7c77
fix(matrix/e2ee): set user_id properly
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 11:50:00 +08:00
4332d54dd7
fix(matrix): specify correct device_id
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 11:48:14 +08:00
093315ce35
feat(matrix/e2e): add warnings about megolm backup
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 11:34:13 +08:00
0d00b83e8c
feat(matrix): export megolm backup
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 11:25:11 +08:00
22b97d997e
feat(matrix): upload E2EE keys if needed
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 11:24:41 +08:00
a62f45311e
feat(matrix): restore nio store
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 11:24:13 +08:00
yzhh
73f2cb52ce Update message.py 2023-09-05 23:14:26 +08:00
yzhh
a9d22b7e94 compatible with old API 2023-09-04 15:04:28 +08:00
yzhh
20eb6ea51a ttt 2023-09-04 01:21:01 +08:00
yzhh
a17f6818a2 update 2023-09-03 19:49:14 +08:00
yzhh
f9ecd0f987 autoformat code 2023-09-03 16:50:12 +08:00
yzhh
ac20635a81 Update message.py 2023-09-03 16:44:19 +08:00
yzhh
55b075c56e update 2023-09-01 22:38:32 +08:00
yzhh
0300583965 #939 2023-09-01 19:42:33 +08:00
yzhh
523b38a1b8 Revert "reduce duplication of code"
This reverts commit 87dc9b7bf7.
2023-08-30 13:15:33 +08:00
yzhh
5e9ce79aac move client name to separate files 2023-08-30 02:13:34 +08:00
yzhh
87dc9b7bf7 reduce duplication of code 2023-08-29 23:33:17 +08:00
yzhh
2da8f7a20d fix validate_permission action behavior 2023-08-29 00:24:38 +08:00
yzhh
b7ad50082f update 2023-08-27 22:51:16 +08:00
yzhh
e6aa0a76d2 bugfix 2023-08-07 13:04:13 +08:00
23ae1fb5f2
feat: partial matrix support (#680)
* build(deps): add matrix-nio

* build(deps): update requirements.txt for matrix-nio

* feat: add example config for matrix

* feat: init matrix support

* feat: do init sync to avoid receiving old messages

* feat: store next sync batch with file

* feat: parse matrix message

* feat: check moderator permission

* feat: redacting message

* feat: toMessageChain for m.text and m.image

* feat: drop m.notice messages

* feat: sending messages

* fix: power level fetching

* fix: rich reply fallback stripping

* style: less log

* feat: guess image content type

* fix: image upload

* feat: sending audio

* chore: add todo

* chore: add todo

* fix: use FinS.result to store room id

As the spec, room_id is an opaque identifier, and at least all valid ASCII characters except '/' and ':' can be included in room_id. This means in some servers, '|' may be included in room_id.

* fix: print RoomSendError

* fix: public rooms with two user are regarded as DM

* feat: resolving pm

* fix: nio.ErrorResponse

* feat: add post test

* feat: pm post test

* Revert "feat: pm post test"

This reverts commit 3688213c80.

* Revert "feat: add post test"

This reverts commit 259fcf54ca.

* feat: create TPM room

* feat: send typing notifications

* feat: leave empty room

* feat: rich reply formatted fallback support

* fix: import

* fix: include body in formatted rich reply fallbacks

* fix: escape line breaks in html

* fix: <br/> tag

* feat: improve matrix direct messaging

* feat: parse m.emote as m.text

* fix: command run blockingly

* fix: message send error handle

* fix: keep DM room

* fix: reuse of DM rooms

* feat: add error log

* docs: add deploy guide for matrix

* docs: add matrix to readme

* docs: add more warning

* style: remove explictly type declartion  (poljar/matrix-nio#417)

* feat: receive audio message

* feat: standard rich-reply fallback for m.emote

* chore: add matrix to bug report issues template
2023-07-30 17:41:01 +08:00