Allow filtering PMs by sender (#3770)
authorAlex Lavallee <alex@lavallee.one>
Tue, 8 Aug 2023 09:07:41 +0000 (02:07 -0700)
committerGitHub <noreply@github.com>
Tue, 8 Aug 2023 09:07:41 +0000 (11:07 +0200)
commitf9c2ba1cfab65b3c20d3f9f3804e479a7fc28840
treee6fcd8da4d68489678f96f6d13d88f1592fee1e3
parent91c024fd987b61ac8892b9e7d1896ee4574751da
Allow filtering PMs by sender (#3770)

* Allow filtering PMs by sender

* Fix retreiving own messages when filtering pm creator id

* Add tests

* Undo rename

* Fix PM tests

* Fix formatting for PMs

* Fix PM test formatting

* Rename PM creator_id field

* Fix PM formatting
crates/api_common/src/private_message.rs
crates/api_crud/src/private_message/read.rs
crates/db_views/src/private_message_view.rs