Fix missing , (#18660)
This commit is contained in:
parent
5c38a4492b
commit
27f235265d
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class ActivityPub::Parser::MediaAttachmentParser
|
|||
components = begin
|
||||
blurhash = @json['blurhash']
|
||||
|
||||
if blurhash.present? && /^[\w#$%*+-.:;=?@\[\]^{|}~]+$/.match?(blurhash)
|
||||
if blurhash.present? && /^[\w#$%*+,-.:;=?@\[\]^{|}~]+$/.match?(blurhash)
|
||||
Blurhash.components(blurhash)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue