mrf/steal_emoji: display download_unknown_size in admin-fe
Fixes omission in d6d838cbe8
			
			
This commit is contained in:
		
							parent
							
								
									be5440c5e8
								
							
						
					
					
						commit
						df27567d99
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -181,7 +181,7 @@ def filter(message), do: {:ok, message}
 | 
			
		|||
              description: <<_::272, _::_*256>>,
 | 
			
		||||
              key: :hosts | :rejected_shortcodes | :size_limit,
 | 
			
		||||
              suggestions: [any(), ...],
 | 
			
		||||
              type: {:list, :string} | {:list, :string} | :integer
 | 
			
		||||
              type: {:list, :string} | {:list, :string} | :integer | :boolean
 | 
			
		||||
            },
 | 
			
		||||
            ...
 | 
			
		||||
          ],
 | 
			
		||||
| 
						 | 
				
			
			@ -218,6 +218,12 @@ def config_description do
 | 
			
		|||
          type: :integer,
 | 
			
		||||
          description: "File size limit (in bytes), checked before an emoji is saved to the disk",
 | 
			
		||||
          suggestions: ["100000"]
 | 
			
		||||
        },
 | 
			
		||||
        %{
 | 
			
		||||
          key: :download_unknown_size,
 | 
			
		||||
          type: :boolean,
 | 
			
		||||
          description: "Whether to download emoji if size can't be determined ahead of time",
 | 
			
		||||
          suggestions: [false, true]
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue