View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/455 Approved-by: fEmber <acomputerdog@gmail.com> Approved-by: Leah <kevinlukej@gmail.com> Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
This commit is contained in:
commit
a9b1affdf0
7 changed files with 144 additions and 10 deletions
|
|
@ -154,6 +154,8 @@ function connectChannel() {
|
|||
} else if (props.src === 'channel') {
|
||||
if (props.channel == null) return;
|
||||
connection = stream.useChannel('channel', {
|
||||
withRenotes: props.withRenotes,
|
||||
withFiles: props.onlyFiles ? true : undefined,
|
||||
channelId: props.channel,
|
||||
});
|
||||
} else if (props.src === 'role') {
|
||||
|
|
@ -234,6 +236,8 @@ function updatePaginationQuery() {
|
|||
} else if (props.src === 'channel') {
|
||||
endpoint = 'channels/timeline';
|
||||
query = {
|
||||
withRenotes: props.withRenotes,
|
||||
withFiles: props.onlyFiles ? true : undefined,
|
||||
channelId: props.channel,
|
||||
};
|
||||
} else if (props.src === 'role') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue