synapse-product/changelog.d/9581.feature
Jason Robinson c2000ab35b
Add get_userinfo_by_id method to ModuleApi (#9581)
Makes it easier to fetch user details in for example spam checker modules, without needing to use api._store or figure out database interactions.

Signed-off-by: Jason Robinson <jasonr@matrix.org>
2021-08-04 10:40:25 +00:00

2 lines
46 B
Gherkin

Add `get_userinfo_by_id` method to ModuleApi.