code snippets and stuff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

masto-hide-mutstd-variants.rb 176B

1234567
  1. CustomEmoji.local.each do |e|
  2. # hide the mutstd variants
  3. if e.shortcode =~ /^ms_/ and e.shortcode =~ /_\w\w?\d+$/ then
  4. e.visible_in_picker = false
  5. e.save!
  6. end
  7. end