more timeline filters - #228
This commit is contained in:
parent
4c69cbcd2b
commit
d27ce442ea
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