Archived
1
0
Fork 0
Commit graph

11 commits

Author SHA1 Message Date
237737f3ab
Fix matrix (#1048)
* fix: dont update displayname when matrix_device_name is not set

Signed-off-by: xtex <xtexchooser@duck.com>

* fix(matrix): mark matrix_device_id as required

Signed-off-by: xtex <xtexchooser@duck.com>

---------

Signed-off-by: xtex <xtexchooser@duck.com>
2023-12-10 10:47:14 +08:00
b786a33365
feat(matrix): set device name
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 14:41:29 +08:00
c654308ac3
feat(matrix/e2e): auto trust devices
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 14:05:32 +08:00
4e44feca89
feat(matrix): log e2ee status
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 12:48:02 +08:00
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
a62f45311e
feat(matrix): restore nio store
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 11:24:13 +08:00
yzhh
f9ecd0f987 autoformat code 2023-09-03 16:50:12 +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