synapse/synapse/push
Kegan Dougal f56670515b
bugfix: assert we always pass the create event to get_user_power_level (#18545)
The create event is required if there is no PL event, in which case the
creator gets PL100.

### Pull Request Checklist

<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->

* [x] Pull request is based on the develop branch
* [x] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
  - Use markdown where necessary, mostly for `code blocks`.
  - End with either a period (.) or an exclamation mark (!).
  - Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [x] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters))

---------

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2025-06-13 16:32:24 +00:00
..
__init__.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
bulk_push_rule_evaluator.py bugfix: assert we always pass the create event to get_user_power_level (#18545) 2025-06-13 16:32:24 +00:00
clientformat.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
emailpusher.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
httppusher.py Do not retry push during backoff period (#18363) 2025-04-29 14:08:11 +01:00
mailer.py Enable flake8-logging and flake8-logging-format rules in Ruff and fix related issues throughout the codebase (#18542) 2025-06-13 09:44:18 +02:00
presentable_names.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
push_tools.py Handle null invite and knock room state 2024-12-03 09:53:21 +01:00
push_types.py Cleanup Python 3.8 leftovers (#17967) 2025-02-10 16:53:24 +00:00
pusher.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
pusherpool.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
rulekinds.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00