Fix account warnings not being recorded in audit log (#18338)
Fix account warnings not being recorded in audit log (#18338)

* Fix account warnings not being recorded in audit log

Fixes #18334

* Only record warnings if they are not associated to another action
im-in-space/mastodon,MitarashiDango/mastodon,imas/mastodon,musashino205/mastodon,yukimochi/mastodon,Ryanaka/mastodon,masto-donte-com-br/mastodon,masto-donte-com-br/mastodon,yukimochi/mastodon,Ryanaka/mastodon,gol-cha/mastodon,Ryanaka/mastodon,ykzts/mastodon,maa123/mastodon,MitarashiDango/mastodon,Ryanaka/mastodon,yukimochi/mastodon,theoria24/mastodon,pinfort/mastodon,glitch-soc/mastodon,maa123/mastodon,im-in-space/mastodon,glitch-soc/mastodon,koba-lab/mastodon,koba-lab/mastodon,cobodo/mastodon,theoria24/mastodon,im-in-space/mastodon,h3zjp/mastodon,cobodo/mastodon,musashino205/mastodon,glitch-soc/mastodon,koba-lab/mastodon,masto-donte-com-br/mastodon,pinfort/mastodon,gol-cha/mastodon,theoria24/mastodon,yukimochi/mastodon,gol-cha/mastodon,imas/mastodon,pinfort/mastodon,h3zjp/mastodon,maa123/mastodon,maa123/mastodon,cobodo/mastodon,imas/mastodon,h3zjp/mastodon,cobodo/mastodon,glitch-soc/mastodon,theoria24/mastodon,tootcafe/mastodon,musashino205/mastodon,MitarashiDango/mastodon,tootcafe/mastodon,ykzts/mastodon,koba-lab/mastodon,masto-donte-com-br/mastodon,tootcafe/mastodon,ykzts/mastodon,MitarashiDango/mastodon,tootcafe/mastodon,musashino205/mastodon,ykzts/mastodon,imas/mastodon,h3zjp/mastodon,im-in-space/mastodon,gol-cha/mastodon,pinfort/mastodon