Cadence Ember
876d91fbf4
Remove sims when the Discord user leaves
2026-03-19 14:30:10 +13:00
Cadence Ember
5b04b5d712
Reformat /plu/ral emulated replies
2026-03-19 13:33:50 +13:00
Cadence Ember
d3afa728ed
Fix m->d posting embeds even when setting is off
2026-03-15 20:53:41 +13:00
Cadence Ember
f90cdfdbb5
Update dependencies, make stream-type independent
2026-03-14 14:25:48 +13:00
Cadence Ember
ff022e8793
Combine additional embed images into same event
2026-03-13 11:12:44 +13:00
Cadence Ember
5f768fee01
d->m: Don't guess mentions in code blocks
2026-03-12 16:23:22 +13:00
Bea and Cadence Ember
f5ee130463
Handle expired invites & fix test registration ( #73 )
...
This PR addresses a bridge crash discovered while backfilling old channels, alongside a wee QoL fix for the test suite.
* **Expired Events (`d2m`):** Wraps Discord scheduled event/invite link lookups in a try-catch block. If a link is expired (404 or Discord error 10006), the bridge now posts a fallback `m.notice` rather than throwing an error and halting message conversion.
* **Test Suite Setup:** Updates `test.js` to initialize the mock registration object using `getTemplateRegistration()` preventing test runner crashes when running without a local `registration.yaml` file.
Co-authored-by: Cadence Ember <cadence@disroot.org >
Reviewed-on: https://gitdab.com/cadence/out-of-your-element/pulls/73
Co-authored-by: Bea <beanie@theargo.space >
Co-committed-by: Bea <beanie@theargo.space >
2026-03-08 22:11:28 +00:00
Cadence Ember
cd8549da38
Fix sticker tests and coverage
2026-03-08 23:32:36 +13:00
Cadence Ember
f7a5b2d74c
Update tryToCatch dependency and usages
2026-03-08 22:36:05 +13:00
Cadence Ember
ea261e825b
Slashes not allowed in MXID
2026-02-27 18:33:29 +13:00
Cadence Ember
e779b41072
Fix possible undefined property access
2026-02-15 12:34:08 +13:00
Cadence Ember
5002f3046a
Convert emojihax to real emoji
2026-02-13 20:27:38 +13:00
Cadence Ember
676cab0dc8
Use smalltext for interaction header
2026-02-13 20:27:25 +13:00
Cadence Ember
0d574c1370
Fix PluralKit replies (properly)
2026-02-12 13:46:50 +13:00
Cadence Ember
228766cec0
Change how edit timestamps are treated again
2026-02-12 01:27:49 +13:00
Cadence Ember
c4909653aa
Fix typecheck
2026-02-11 11:31:27 +13:00
Cadence Ember
0ed3ef68f1
Fix PluralKit replies
2026-02-10 16:35:03 +13:00
Cadence Ember
64369f1054
Fix test
2026-02-09 13:22:45 +13:00
Cadence Ember
e66822e94b
Make sure written mentions do not match in URLs
2026-02-09 13:22:36 +13:00
Cadence Ember
b463e1173b
Fallback text for Matrix poll end events
...
Right now this doesn't seem to show up on any clients because extensible
events is a total mess, but if you did want to code a client that shows
this fallback without bothering to code real support for polls, you are
easily able to do that. Just pretend the poll end event is a
m.room.message and render it like usual.
2026-02-05 01:00:06 +13:00
Ellie Algase
52d9c6fea8
Fix poll results being double-bridged
...
Oddly, this would only occur for the first poll in a channel.
2026-02-04 13:02:43 +13:00
Cadence Ember
c01e347e7b
Allow more characters at start of scanned mentions
2026-02-04 12:11:46 +13:00
Cadence Ember
b52b2de205
Customise format for Klipy GIFs
2026-02-04 00:45:23 +13:00
Cadence Ember
c73800f785
Fix U+FE0F and tweak decay to fix tie result
2026-02-03 22:58:42 +13:00
Cadence Ember
15aa6ed502
Highlight scanned mentions on Matrix side
2026-02-03 22:41:03 +13:00
Cadence Ember
5aa112f962
Better detect reply rep in reply fallback
2026-02-03 12:35:16 +13:00
Cadence Ember
f287806bcd
Remove smalltext from non-bots
...
I don't like it.
2026-02-03 01:23:12 +13:00
Cadence Ember
45285a4835
Only send components if they rendered to something
2026-02-03 01:22:38 +13:00
Cadence Ember
af9e2d89a5
Wrangle generated embeds; fix edit m.mentions
2026-01-30 20:01:08 +13:00
Cadence Ember
44208b6fd5
Add /ping command
2026-01-30 19:25:45 +13:00
Cadence Ember
e3e38b9f24
Components v2 support
2026-01-30 19:22:13 +13:00
Cadence Ember
fca4c75522
Fix speedbump+retrigger interactions
...
Send and then edit over speedbump should now just post the edit.
Hopefully this doesn't have any negative consequences.
2026-01-30 19:21:10 +13:00
Cadence Ember
02d62c0914
Only show video embeds when they have extra info
2026-01-30 13:58:29 +13:00
Ellie Algase
e565342ac8
initial polls support (not exactly working)
2026-01-25 14:33:09 +13:00
Cadence Ember
90fcbd0ddc
Update Discord libraries
2026-01-21 14:33:24 +13:00
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
a488c15351
Fix confusion between eventsToSend/unchangedEvents
2026-01-14 15:07:16 +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
505c41a35e
More code coverage
2026-01-10 02:28:18 +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
a6bb248c0a
Fix pointer being included for cross-room replies
2025-12-16 00:36:43 +13:00
Cadence Ember
2563a47e78
Properly hide embeds for links in reply previews
2025-12-11 12:46:28 +13:00