commit c4f17a0b04954e26432c3b3d7291abb9a9468730
parent 1e6b291b294728550f1e519a8c1b10cf52d5377a
Author: Johan Lindskogen <johan.lindskogen@gmail.com>
Date: Sun, 1 Apr 2018 15:30:00 +0200
Filter by irc_smart_filter
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/usecase/buffers/ui/Buffer.tsx b/src/usecase/buffers/ui/Buffer.tsx
@@ -64,7 +64,9 @@ class Buffer extends React.Component<Props, State> {
const { lines, onLongPress, parseArgs } = this.props;
return (
<FlatList
- data={lines}
+ data={lines.filter(
+ line => !line.tags_array.includes("irc_smart_filter")
+ )}
inverted
keyboardDismissMode="interactive"
keyExtractor={line => _.last(line.pointers)}