Browse Source

Enable importing GIF emojis in CLI (#17706)

closed-social-glitch-2
Rens Groothuijsen 2 years ago
committed by GitHub
parent
commit
c439e13e12
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/mastodon/emoji_cli.rb

+ 1
- 1
lib/mastodon/emoji_cli.rb View File

@ -41,7 +41,7 @@ module Mastodon
Gem::Package::TarReader.new(Zlib::GzipReader.open(path)) do |tar|
tar.each do |entry|
next unless entry.file? && entry.full_name.end_with?('.png')
next unless entry.file? && entry.full_name.end_with?('.png', '.gif')
filename = File.basename(entry.full_name, '.*')

Loading…
Cancel
Save