Commit Graph

141 Commits

Author SHA1 Message Date
Cadence Ember
345b7d6135 Merge attachments with message when possible 2026-01-21 13:51:34 +13:00
Cadence Ember
ddc7387fa0 Do not make forwarded messages m.notice 2026-01-21 13:51:34 +13:00
Cadence Ember
b5596b2459 Fetch referenced_message for reply fallback 2026-01-21 13:51:34 +13:00
Rory&
5e4b99a552 Remove reply fallback for same-room replies (and update tests accordingly) 2026-01-21 01:59:59 +13:00
Cadence Ember
756e8e27ad Make registration more consistent 2026-01-21 01:59:54 +13:00
Cadence Ember
014a87ed9e Force Matrix m.notices to be unchanged events 2026-01-18 02:53:39 +13:00
Cadence Ember
92a60955bc Improve Matrix info and add alternative access
React with red question mark to get a DM of the author info, like PK.
2026-01-18 02:39:17 +13:00
abdul
1741bc0fa7 Fix webp animated emojis
https://discord.com/developers/docs/reference#image-formatting-cdn-endpoints
> WebP and AVIF formats must be requested as WebP.
2026-01-17 23:06:19 +13:00
Cadence Ember
c472388acc Room create event must be included to diff 2026-01-15 14:17:03 +13:00
Cadence Ember
fba50e9505 Fix getPermissions misunderstanding @everyone 2026-01-14 15:11:22 +13:00
Cadence Ember
a488c15351 Fix confusion between eventsToSend/unchangedEvents 2026-01-14 15:07:16 +13:00
Cadence Ember
c8b0f23db3 Retrigger m->d reactions and removals 2026-01-13 22:57:52 +13:00
Cadence Ember
fcd4eb4e51 Refactor cross-room event detection 2026-01-13 22:20:11 +13:00
Cadence Ember
536ab56048 Better text spoilers
Remove spoiler content from plaintext body
Don't bridge embeds if their link is spoilered (deliberately imprecise)
2026-01-13 22:19:54 +13:00
Cadence Ember
3d3671e05a skip "cannot invite user that is joined" 2026-01-10 13:19:16 +13:00
Cadence Ember
505c41a35e More code coverage 2026-01-10 02:28:18 +13:00
Cadence Ember
045fdfdf27 General code coverage 2026-01-09 03:49:32 +13:00
Cadence Ember
29d08df094 Fix Discord replies to multipart Matrix messages
The second part of the message is part=1 but the reply database lookup
wanted part=0. To fix this, now it finds the first available part.
2026-01-09 01:48:59 +13:00
Cadence Ember
4bea696a5a setUserPower should account for room version 12 2026-01-07 15:38:09 +13:00
Cadence Ember
55e0e5dfa1 Room version 12 and room upgrades 2026-01-07 02:43:20 +13:00
Cadence Ember
04d26026f5 Pre-upload icons before diffing 2025-12-16 12:37:43 +13:00
Cadence Ember
e4d0838af5 Support creating v12 rooms 2025-12-16 02:15:17 +13:00
Cadence Ember
a6bb248c0a Fix pointer being included for cross-room replies 2025-12-16 00:36:43 +13:00
Cadence Ember
239568a8e5 Fully remove failed experiment 2025-12-16 00:34:37 +13:00
Cadence Ember
2563a47e78 Properly hide embeds for links in reply previews 2025-12-11 12:46:28 +13:00
Cadence Ember
c298f78f96 Update global profiles for sims 2025-12-01 16:48:11 +13:00
Cadence Ember
3fc51cef15 Add upgraded_timestamp to historical_channel_room 2025-12-01 16:38:38 +13:00
Cadence Ember
20453aab43 res.json type fixes 2025-12-01 16:03:27 +13:00
Cadence Ember
6d0a98eb49 Fix unbridging procedure 2025-11-28 17:20:44 +13:00
Cadence Ember
42beb6d249 Maybe accept invites more reliably 2025-11-27 21:48:49 +13:00
Cadence Ember
a441c476f8 Support multiple versions of rooms 2025-11-26 15:43:48 +13:00
Cadence Ember
e6c30f80b5 Configure whether to receive presences 2025-11-19 16:47:35 +13:00
Cadence Ember
0f24994af9 The database works better if you query it. 2025-11-19 16:40:40 +13:00
Cadence Ember
edd4f988ec Support persistent Matrix sims for webhooks 2025-11-19 16:37:39 +13:00
Cadence Ember
d0f7d79d78 Fix duplicated data appearing on Matrix 2025-11-18 14:48:59 +13:00
Cadence Ember
1338e6ba88 Update discord-markdown 2025-11-15 16:41:02 +13:00
Cadence Ember
158921d55e Improve emoji uploading experience 2025-11-10 19:08:25 +13:00
Cadence Ember
cba79658fa Don't post new embeds for old messages 2025-11-10 00:45:56 +13:00
Cadence Ember
b4dd66fbec More consistently generate embeds for Matrix 2025-11-09 01:07:03 +13:00
Cadence Ember
bc32910cc8 Silence errors if generated embeds can't be sent 2025-11-09 00:24:24 +13:00
Elliu
d95a114377 Fix matrix api joinRoom() for remote rooms (#60)
When using self-service mode and trying to link with a remote matrix
room (room not in the same HS as the bridge user), then we need to add
the "via" HSs to join the room with, or else it fails.

We get it from the "m.space.child" in the "children_state" of the space
hierarchy.

Co-authored-by: Cadence Ember <cadence@disroot.org>
Reviewed-on: https://gitdab.com/cadence/out-of-your-element/pulls/60
Co-authored-by: Elliu <elliu@hashi.re>
Co-committed-by: Elliu <elliu@hashi.re>
2025-11-02 07:50:16 +00:00
Cadence Ember
cffd3c9f2e Fix converting discord channel links 2025-10-10 12:26:01 -06:00
Cadence Ember
5b7433de32 Make tests time zone independent 2025-10-07 14:09:50 -05:00
Cadence Ember
7916f82b55 Change thread started message (closes #61) 2025-10-07 14:09:42 -05:00
Cadence Ember
d8e6de62e5 Keep sim_proxy profile data up to date 2025-09-08 16:26:16 +12:00
Cadence Ember
5a152b87b8 I guess mentions is an optional property too 2025-09-08 12:37:19 +12:00
Cadence Ember
c71044fdec Only edit events if the text has changed 2025-08-29 00:09:18 +12:00
Cadence Ember
160efc5592 Update dependencies 2025-08-13 20:30:19 +12:00
Cadence Ember
106aea4031 Remove silly stringify 2025-08-13 13:41:50 +12:00
Cadence Ember
ca8bbe076c Replace PK multiple attempts with cache lookup 2025-08-13 13:32:26 +12:00