mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 08:11:24 +01:00
remove comments about filtering buggy items
This commit is contained in:
parent
40f9aa6f60
commit
3efe3fb337
8 changed files with 10 additions and 14 deletions
|
|
@ -82,7 +82,7 @@ pub(crate) async fn get_context_route(
|
|||
.timeline
|
||||
.pdus_until(sender_user, &room_id, base_token)?
|
||||
.take(half_limit)
|
||||
.filter_map(Result::ok) // Remove buggy events
|
||||
.filter_map(Result::ok)
|
||||
.filter(|(_, pdu)| {
|
||||
services()
|
||||
.rooms
|
||||
|
|
@ -118,7 +118,7 @@ pub(crate) async fn get_context_route(
|
|||
.timeline
|
||||
.pdus_after(sender_user, &room_id, base_token)?
|
||||
.take(half_limit)
|
||||
.filter_map(Result::ok) // Remove buggy events
|
||||
.filter_map(Result::ok)
|
||||
.filter(|(_, pdu)| {
|
||||
services()
|
||||
.rooms
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue