about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-24 13:01:12 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-24 13:01:12 -0500
commit25d628fca314aebb25e3976f006cc96629a3d780 (patch)
treebb4304947f7727264038b90b0e48a9783a1f30ff /app/javascript
parentd83fcfd1f15a97bfb5c6f36a82d7253175518daf (diff)
revert the current unfinished chat implementation
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/flavours/glitch/reducers/compose.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/javascript/flavours/glitch/reducers/compose.js b/app/javascript/flavours/glitch/reducers/compose.js
index 8747d51f5..43876e450 100644
--- a/app/javascript/flavours/glitch/reducers/compose.js
+++ b/app/javascript/flavours/glitch/reducers/compose.js
@@ -116,10 +116,6 @@ function statusToTextMentions(state, status) {
     set = set.add(`@${status.getIn(['account', 'acct'])} `);
   }
 
-  set = set.union(status.get('tags').filter(
-    tag => tag.get('name') && tag.get('name').startsWith("chat.")
-  ).map(tag => `#${tag.get('name')} `));
-
   return set.union(status.get('mentions').filterNot(mention => mention.get('id') === me).map(mention => `@${mention.get('acct')} `)).join('');
 };
 
@@ -130,10 +126,6 @@ function apiStatusToTextMentions (state, status) {
     set = set.add(`@${status.account.acct} `);
   }
 
-  set = set.union(status.tags.filter(
-    tag => tag.name && tag.name.startsWith("chat.")
-  ).map(tag => `#${tag.name} `));
-
   return set.union(status.mentions.filter(
     mention => mention.id !== me
   ).map(