Tulir Asokan
c5cdde83e4
tomatrix: include image mime type in url previews
2026-03-29 13:36:56 +03:00
Tulir Asokan
8bd4ff8f82
tomatrix: use channel ghost if portal not found
2026-03-29 13:36:25 +03:00
Tulir Asokan
b695e0b4ea
tomatrix: add forward headers
2026-03-17 12:01:20 +02:00
Tulir Asokan
58f40aeba5
userinfo: use min access hashes for avatars
2026-03-15 12:28:14 +02:00
Tulir Asokan
2b1cfae52f
tomatrix: fix sticker metadata
2025-12-29 23:25:08 +02:00
Tulir Asokan
769a397a03
tomatrix: don't use portal disappearing timer for incoming messages
2025-12-16 17:32:59 +02:00
Tulir Asokan
d5f87d2ec1
all: add support for topics and refactor other things
2025-12-06 15:27:51 +02:00
Tulir Asokan
08a2fe9753
chatinfo: refactor processing group chat info
2025-12-03 22:34:13 +02:00
Tulir Asokan
8bef95e237
chatinfo,backfill,tomatrix: downgrade unnecessary warnings
2025-12-03 17:11:20 +02:00
Tulir Asokan
fed5752f38
handletelegram: don't return errors from message converter
2025-12-03 17:11:20 +02:00
Tulir Asokan
35c161185c
directdownload,tomatrix: add missing nil checks
2025-12-03 17:11:20 +02:00
Tulir Asokan
2004085312
connector: fix import ordering
2025-12-03 17:11:20 +02:00
Tulir Asokan
f48737c894
capabilities: fix disappearing timer capability
2025-09-16 23:04:31 +03:00
Adam Van Ymeren
9706deb27d
media: always give the unsupported notice if we don't yet handle the type
2025-09-12 09:22:43 -07:00
Adam Van Ymeren
233516ca4d
media: Don't error on MessageMediaPaidMedia, just bridge unsupported notice
2025-09-12 09:17:17 -07:00
Tulir Asokan
0051042555
database: migrate disappearing timer to standard location ( #121 )
2025-09-12 18:35:09 +03:00
Tulir Asokan
8341492c9f
dependencies: update mautrix-go
2025-08-26 18:07:45 +03:00
Tulir Asokan
a7aa96ef2b
tomatrix: add more nil safety to media id hashing
2025-07-15 14:53:12 +03:00
Adam Van Ymeren
7a04f298d2
move gotd fork into repo. ( #111 )
...
- update to latest telegram layer
- remove some references to fields in tg.Entities that don't exist in
the schema
- originally added here:
https://github.com/beeper/td/commit/820929062a2ba0104397bc01235ab58a9cff780e
- referenced here
-
https://github.com/mautrix/telegramgo/commit/124f0967ed195b5a380c9bd02e170ada9710dde3
-
https://github.com/mautrix/telegramgo/commit/4205047aab2e0639217148b5d125bfaab668bd8e
2025-06-27 20:03:37 -07:00
Toni Spets
a9a267bc0d
directmedia: handle webpage previews as well
2025-05-27 14:39:47 +03:00
Tulir Asokan
05b1eb1214
handletelegram: provide stream order in read receipts ( #102 )
2025-05-27 11:45:39 +03:00
Toni Spets
7e75c8ef83
media: make all media direct downloadable
...
The only exception is emojis.
Also changed direct download encoding field names to be more generic
when used in mixed manner depending on peer type.
Direct downloads are still somewhat inefficient as they require an API
round trip to succeed but we can cache things in the database if needed.
2025-05-07 06:43:51 +03:00
Tulir Asokan
6347383788
tomatrix: fix refetching channel media when bridging messages
2025-03-27 18:31:48 +02:00
Sumner Evans
1bc3a2538e
treewide: add copyright/license notices
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2025-03-05 10:16:50 -07:00
Sumner Evans
36bb741c68
client: refetch message during conversion if file reference expired
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2025-02-24 11:45:21 -07:00
Sumner Evans
e8ee5f174e
connector/tomatrix: include previewed URL in hash
...
This will hopefully make it so that if the preview gets edited in by
Telegram at a later time, it will be bridged.
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2025-02-17 14:14:15 -07:00
Sumner Evans
4bef6ea09e
connector/tomatrix: add timeout for getting webpage preview
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2025-01-13 11:00:15 -07:00
Sumner Evans
2743d5375a
connector/tomatrix: fix broadcast messages with no From user
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2025-01-09 17:46:18 -07:00
Sumner Evans
c3fc77c2a8
connector: always use channel sender in broadcast rooms and add per-message profile
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2025-01-09 12:52:43 -07:00
Sumner Evans
487f11ffd7
connector/tomatrix: strip filename unconditionally on stickers
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2025-01-06 10:44:17 -07:00
Sumner Evans
655cd98f27
connector/tomatrix: fix video stickers
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2025-01-06 10:26:02 -07:00
Sumner Evans
6c68351e1f
connector/tomatrix: error early if client is nil
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-12-04 15:21:55 -07:00
Sumner Evans
46a4b68073
connector/tomatrix: fix nil handling again
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-12-04 15:21:55 -07:00
Sumner Evans
d6765157ab
connector: don't use Part IDs
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-12-02 09:54:12 -07:00
Sumner Evans
463277def0
connector/tomatrix: fix video captions
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-11-12 09:58:06 -07:00
Sumner Evans
da894bec25
connector/tomatrix: fix nil handling
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-10-29 08:12:11 -06:00
Sumner Evans
bcea875e66
connector/tomatrix: handle nil better in mediaHashID
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-10-28 08:04:18 -06:00
Sumner Evans
9f6a54be81
connector/tomatrix: log when hashing unsupported media type
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-10-24 10:53:11 -06:00
Sumner Evans
f076376caa
connector/tomatrix: handle circular videos
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-10-21 15:55:45 -06:00
Sumner Evans
b0e6dcb1d6
client: support TG -> Matrix disappearing messages
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-10-14 14:33:17 -06:00
Sumner Evans
132585de34
user info: handle deleted users
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-10-14 14:09:08 -06:00
Sumner Evans
c75ac58763
client: add option to disable bridging view-once and disappearing media
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-10-08 13:41:00 -06:00
Sumner Evans
9576f48c5b
stickers: strip filename
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-10-08 08:21:23 -06:00
Sumner Evans
a73f9d1ec2
connector/tomatrix: fix replies
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-09-16 15:50:29 -06:00
Tulir Asokan
e3e709eec6
ids: add channel ID to message ID to ensure uniqueness ( #25 )
2024-08-26 20:42:06 +03:00
Sumner Evans
24d0d4687a
connector/tomatrix: fix NPE with unsupported media
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-08-22 07:57:28 -06:00
Sumner Evans
aeb8fba288
msgconv: annotate GIFs bridged as videos with correct flags
...
Closes PLAT-25993
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-08-08 11:36:37 -06:00
Sumner Evans
83695b4336
directdownload: include receiver in media ID
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-08-07 11:18:59 -06:00
Sumner Evans
f56f520308
(telegram|matrix)fmt: mention formatting
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-08-05 15:19:53 -06:00
Sumner Evans
882582456e
telegramfmt: text formatting TG -> Matrix
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-08-05 15:19:39 -06:00