localOnly
This commit is contained in:
parent
0eacd5e1f7
commit
7dd7c6ad4a
|
@ -204,7 +204,7 @@ function updatePaginationQuery() {
|
||||||
query = {
|
query = {
|
||||||
withFiles: true,
|
withFiles: true,
|
||||||
withRenotes: props.withRenotes,
|
withRenotes: props.withRenotes,
|
||||||
withReplies: props.withReplies,
|
withReplies: false,
|
||||||
};
|
};
|
||||||
} else if (props.src === 'mentions') {
|
} else if (props.src === 'mentions') {
|
||||||
endpoint = 'notes/mentions';
|
endpoint = 'notes/mentions';
|
||||||
|
@ -232,10 +232,10 @@ function updatePaginationQuery() {
|
||||||
roleId: props.role,
|
roleId: props.role,
|
||||||
};
|
};
|
||||||
} else if (props.src.startsWith('custom-timeline')) {
|
} else if (props.src.startsWith('custom-timeline')) {
|
||||||
endpoint = "notes/any-local-timeline";
|
endpoint = 'notes/any-local-timeline';
|
||||||
query = {
|
query = {
|
||||||
host: defaultStore.state[`remoteLocalTimelineDomain${props.src.split("-")[2]}`],
|
host: defaultStore.state[`remoteLocalTimelineDomain${props.src.split('-')[2]}`],
|
||||||
remoteToken:defaultStore.state[`remoteLocalTimelineToken${props.src.split("-")[2]}`]
|
remoteToken: defaultStore.state[`remoteLocalTimelineToken${props.src.split('-')[2]}`],
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
endpoint = null;
|
endpoint = null;
|
||||||
|
|
Loading…
Reference in New Issue