mastodon/app
trwnh 89e1974f30
Make account endorsements idempotent (fix ) ()
* Make account endorsements idempotent (fix )

* Accept suggestion to use exists? instead of find_by + nil check

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>

* fix logic (unless, not if)

* switch to using `find_or_create_by!`

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2022-11-08 16:39:15 +01:00
..
chewy
controllers Make account endorsements idempotent (fix ) () 2022-11-08 16:39:15 +01:00
helpers Change sign-in banner to reflect disabled or moved account status () 2022-11-05 18:28:13 +01:00
javascript Fix redrafting a currently-editing post not leaving edit mode () 2022-11-08 04:06:54 +01:00
lib Change Request connection logic to try both IPv6 and IPv4 when available () 2022-11-08 16:36:26 +01:00
mailers Add support for language preferences for trending statuses and links () 2022-10-08 16:45:40 +02:00
models Micro-optimization: use if/else instead of Array#compact and Array#min () 2022-11-08 03:50:47 +01:00
policies Add ability to view previous edits of a status in admin UI () 2022-10-26 13:42:29 +02:00
presenters Change sign-in banner to reflect disabled or moved account status () 2022-11-05 18:28:13 +01:00
serializers Fix missing cast of status and rule IDs to string (fix ) () 2022-11-08 16:37:41 +01:00
services Fix validation error in SynchronizeFeaturedTagsCollectionWorker () 2022-11-07 22:35:53 +01:00
validators Fix error when uploading malformed CSV import () 2022-10-28 23:30:44 +02:00
views Add password autocomplete hints () 2022-11-08 03:53:06 +01:00
workers Fix followers count not being updated when migrating follows () 2022-11-07 15:38:55 +01:00