mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: scheme: jump to reply
Closes #362 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -87,6 +87,7 @@ class PiliScheme {
|
|||||||
return false;
|
return false;
|
||||||
case 'video':
|
case 'video':
|
||||||
// bilibili://video/12345678?dm_progress=123000&cid=12345678&dmid=12345678
|
// bilibili://video/12345678?dm_progress=123000&cid=12345678&dmid=12345678
|
||||||
|
// bilibili://video/{aid}/?comment_root_id=***&comment_secondary_id=***
|
||||||
final queryParameters = uri.queryParameters;
|
final queryParameters = uri.queryParameters;
|
||||||
if (queryParameters['comment_root_id'] != null) {
|
if (queryParameters['comment_root_id'] != null) {
|
||||||
// to check
|
// to check
|
||||||
@@ -117,6 +118,10 @@ class PiliScheme {
|
|||||||
source: 'routePush',
|
source: 'routePush',
|
||||||
replyType: ReplyType.video,
|
replyType: ReplyType.video,
|
||||||
firstFloor: null,
|
firstFloor: null,
|
||||||
|
id: queryParameters['comment_secondary_id'] != null
|
||||||
|
? int.tryParse(
|
||||||
|
queryParameters['comment_secondary_id']!)
|
||||||
|
: null,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user