1
0
Fork 0
mirror of https://github.com/matrix-org/dendrite.git synced 2025-03-21 17:14:28 -05:00
Commit graph

8 commits

Author SHA1 Message Date
devonh 77d9e4e93d
Cleanup remaining statekey usage for senderIDs () 2023-06-12 11:19:25 +00:00
devonh 67d6876857
Move MakeJoin logic to GMSL () 2023-05-17 00:33:27 +00:00
devonh 0489d16f95
Move json errors over to gmsl () 2023-05-09 22:46:49 +00:00
kegsay f5b3144dc3
Use PDU not *Event in HeaderedEvent ()
Requires https://github.com/matrix-org/gomatrixserverlib/pull/376

This has numerous upsides:
 - Less type casting to `*Event` is required.
- Making Dendrite work with `PDU` interfaces means we can swap out Event
impls more easily.
 - Tests which represent weird event shapes are easier to write.

Part of a series of refactors on GMSL.
2023-05-02 15:03:16 +01:00
kegsay 72285b2659
refactor: update GMSL ()
Sister PR to https://github.com/matrix-org/gomatrixserverlib/pull/364

Read this commit by commit to avoid going insane.
2023-04-19 15:50:33 +01:00
Neil Alexander 4c2a10f1a6
Handle state before, send history visibility in output ()
* Check state before event

* Tweaks

* Refactor a bit, include in output events

* Don't waste time if soft failed either

* Tweak control flow, comments, use GMSL history visibility type
2022-06-13 15:11:10 +01:00
kegsay 506de4bb3d
Define component interfaces based on consumers (1/2) ()
* Specify interfaces used by appservice, do half of clientapi

* convert more deps of clientapi to finer-grained interfaces

* Convert mediaapi and rest of clientapi

* Somehow this got missed
2022-05-05 13:17:38 +01:00
Neil Alexander c1447a58e5
Various alias fixes ()
* Generate m.room.canonical_alias instead of legacy m.room.aliases

* Add omitempty tags

* Add aliases endpoint to client API

* Check power levels when setting aliases

* Don't return null on /aliases

* Don't return error if the state event fails

* Update sytest-whitelist

* Don't send updated m.room.canonical_alias events

* Don't check PLs after all because for local aliases they are apparently irrelevant

* Fix some bugs

* Allow deleting a local alias with enough PL

* Fix some more bugs

* Update sytest-whitelist

* Fix copyright notices

* Review comments
2021-07-21 16:53:50 +01:00