mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 00:01:24 +01:00
enable same_name_method lint
This commit is contained in:
parent
d144db8688
commit
cc5977b4e4
6 changed files with 14 additions and 17 deletions
|
|
@ -1120,7 +1120,7 @@ fn load_timeline(
|
|||
let mut non_timeline_pdus = services()
|
||||
.rooms
|
||||
.timeline
|
||||
.pdus_until(sender_user, room_id, PduCount::max())?
|
||||
.pdus_until(sender_user, room_id, PduCount::MAX)?
|
||||
.filter_map(|r| {
|
||||
// Filter out buggy events
|
||||
if r.is_err() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue