mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-18 14:34:25 +01:00
feat: ignore proxy
This commit is contained in:
@@ -99,7 +99,8 @@ const SearchColumn: Component<SearchColumnDisplayProps> = (props) => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
clientEventFilter: (event) => {
|
clientEventFilter: (event) => {
|
||||||
if (event.tags.findIndex(([tagName]) => tagName === 'mostr') >= 0) return false;
|
if (event.tags.findIndex(([tagName]) => tagName === 'mostr' || tagName === 'proxy') >= 0)
|
||||||
|
return false;
|
||||||
if (props.column.contentFilter == null) return true;
|
if (props.column.contentFilter == null) return true;
|
||||||
return applyContentFilter(props.column.contentFilter)(event.content);
|
return applyContentFilter(props.column.contentFilter)(event.content);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user