mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2025-01-14 16:40:03 +01:00
0015d43e13
any actual callee will be dealing with a User struct to begin with, so just check the child struct inside User.superuser?/1 with pattern matching.