This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
abunchtell
/
mastodon
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Activity
Преглед изворни кода
Fix audit log error when custom emoji is copied from remote server (
#11876
)
master^2
han@highemelry
пре 4 година
committed by
Eugen Rochko
родитељ
75c6ad500d
комит
3919571c39
1 измењених фајлова
са
1 додато
и
1 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/models/custom_emoji.rb
+ 1
- 1
app/models/custom_emoji.rb
Прегледај датотеку
@@ -63,7 +63,7 @@ class CustomEmoji < ApplicationRecord
def copy!
copy = self.class.find_or_initialize_by(domain: nil, shortcode: shortcode)
copy.image = image
copy.save!
copy.
tap(&:
save!
)
end
class << self
Write
Preview
Loading…
Откажи
Сачувај