summary refs log tree commit diff
path: root/masto-hide-mutstd-variants.rb
diff options
context:
space:
mode:
authorStarfall <admin@plural.cafe>2020-05-16 00:23:59 -0500
committerStarfall <admin@plural.cafe>2020-05-16 00:26:36 -0500
commit27e69e226240efc2b193ca45d9749a12457a697e (patch)
treeddc62f49833b7e598045e2ccc94374c521d1ac1d /masto-hide-mutstd-variants.rb
parent1c2fd22311e1aef1a3ed6898f0e0ab7dda07b7dc (diff)
Split off Mutant Standard variants
Importing the two separately lets us not have to muck around with a
script after the fact, we can just `tootctl emoji import --unlisted`
directly.
Diffstat (limited to 'masto-hide-mutstd-variants.rb')
-rw-r--r--masto-hide-mutstd-variants.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/masto-hide-mutstd-variants.rb b/masto-hide-mutstd-variants.rb
deleted file mode 100644
index fdbdba5..0000000
--- a/masto-hide-mutstd-variants.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# original source: https://monsterware.dev/multiple_creatures/junk-in-the-trunk/commit/07143558bb296e02b9e8aaff6488ad08688f1c26
-
-CustomEmoji.local.each do |e|
-  # hide the mutstd variants
-  if e.shortcode =~ /^ms_/ and e.shortcode =~ /_\w\w?\d+$/ then
-    e.visible_in_picker = false
-    e.save!
-  end
-end