Skip to content

Commit c49709c

Browse files
committed
DRAFTfeat: support receive rich messages from Matrix
1 parent 1d9e5d3 commit c49709c

File tree

10 files changed

+768
-66
lines changed

10 files changed

+768
-66
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,16 @@ Implemented APIs:
7575
Limitations:
7676

7777
- when a private room is deleted, there is no way to send messages to the user
78-
- text-only messages are supported (no media, no rich content)
7978
- only one-to-one direct messaging is supported (no group chats)
8079
- before using the chat from the app, users who receive or send must have logged into Matrix at least once using an official client (Cinny or Element)
80+
- sending images from Acrobits to Matrix is not yet supported (only receiving)
8181

8282
The following features are not yet implemented:
8383

8484
- Account removal: https://doc.acrobits.net/api/client/account_removal_reporter.html#account-removal-reporter-webservice
85-
- Messages with media content:
85+
- Sending messages with media content from Acrobits to Matrix
86+
- Other media types (video, audio, files)
87+
- Rich message features:
8688
- https://doc.acrobits.net/api/client/x-acro-filetransfer.html
8789
- https://doc.acrobits.net/api/client/decryption.html
8890
- https://doc.acrobits.net/mmmsg/index.html

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ module github.com/nethesis/matrix2acrobits
33
go 1.24.10
44

55
require (
6+
github.com/golang-jwt/jwt/v5 v5.3.0
67
github.com/labstack/echo/v4 v4.13.4
8+
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
79
github.com/rs/zerolog v1.34.0
810
github.com/stretchr/testify v1.11.1
911
maunium.net/go/mautrix v0.26.0
@@ -14,7 +16,6 @@ require (
1416
filippo.io/edwards25519 v1.1.0 // indirect
1517
github.com/davecgh/go-spew v1.1.1 // indirect
1618
github.com/dustin/go-humanize v1.0.1 // indirect
17-
github.com/golang-jwt/jwt/v5 v5.3.0 // indirect
1819
github.com/google/uuid v1.6.0 // indirect
1920
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
2021
github.com/labstack/gommon v0.4.2 // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE
2727
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
2828
github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdhx/f4=
2929
github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls=
30+
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 h1:zYyBkD/k9seD2A7fsi6Oo2LfFZAehjjQMERAvZLEDnQ=
31+
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646/go.mod h1:jpp1/29i3P1S/RLdc7JQKbRpFeM1dOBd8T9ki5s+AY8=
3032
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
3133
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
3234
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=

0 commit comments

Comments
 (0)