Add support for jumping to event links (#103)
Fixes #78. Reviewed-on: #103
This commit is contained in:
parent
597112f5d3
commit
1c4bf99be2
16 changed files with 169 additions and 113 deletions
|
|
@ -77,7 +77,6 @@ class RoomChatController(final ChatParams info)
|
|||
),
|
||||
),
|
||||
}),
|
||||
.new(),
|
||||
);
|
||||
return .new(
|
||||
timeline: .new(events.map((element) => element.rowId)),
|
||||
|
|
@ -149,7 +148,6 @@ class RoomChatController(final ChatParams info)
|
|||
),
|
||||
),
|
||||
}),
|
||||
.new(),
|
||||
);
|
||||
} else {
|
||||
final paginationResponse = await client.paginateManual(
|
||||
|
|
@ -173,7 +171,6 @@ class RoomChatController(final ChatParams info)
|
|||
),
|
||||
),
|
||||
}),
|
||||
.new(),
|
||||
);
|
||||
|
||||
final eventRowIds = paginationResponse.events
|
||||
|
|
@ -274,7 +271,6 @@ class RoomChatController(final ChatParams info)
|
|||
clientSticky: .new({event.rowId}),
|
||||
),
|
||||
}),
|
||||
.new(),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue