about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-08-19 18:42:47 +0200
committerThibG <thib@sitedethib.com>2018-08-19 21:36:46 +0200
commitf4d28ccfa3f9fd38a6d219fcde2d1a8bfcf6b306 (patch)
tree61b136c2f7402e12f9d649a3ba7b0e2322676943 /app
parentea3c0ce321c7b90ad9c3ac38a79cc9c26d006ae1 (diff)
Don't filter own toots
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/selectors/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/selectors/index.js b/app/javascript/flavours/glitch/selectors/index.js
index 42881d9ed..d1a88a2fc 100644
--- a/app/javascript/flavours/glitch/selectors/index.js
+++ b/app/javascript/flavours/glitch/selectors/index.js
@@ -1,5 +1,6 @@
 import { createSelector } from 'reselect';
 import { List as ImmutableList } from 'immutable';
+import { me } from 'flavours/glitch/util/initial_state';
 
 const getAccountBase         = (state, id) => state.getIn(['accounts', id], null);
 const getAccountCounters     = (state, id) => state.getIn(['accounts_counters', id], null);
@@ -77,7 +78,7 @@ export const makeGetStatus = () => {
         return null;
       }
 
-      const regex  = regexFromFilters(filters);
+      const regex  = (accountReblog || accountBase).get('id') !== me && regexFromFilters(filters);
       let filtered = false;
 
       if (statusReblog) {