c37d0298b0
Make some adjustments to blocking behavior regarding the forums: * Pre-existing bug: on a forum's home page (threads list), if a thread was created by a blocked user, the thread still appeared with the user's name and picture visible. Now: their picture and name will be "[unavailable]" but the thread title/message and link to the thread will remain. Note: in the thread view itself, posts by the blocked user will be missing as normal. * Make some tweaks to allow forum moderators (and owners of user-owned forums) able to see messages from blocked users on their forum: * In threads: a blocked user's picture and name are "[unavailable]" but the content of their message is still shown, and can be deleted by moderators. Misc fixes: * Private photos: when viewing your granted/grantee lists, hide users whose accounts are inactive or who are blocked. * CertifiedSince: in case a user was manually certified but their cert photo status is not correct, return their user CreatedAt time instead. |
||
---|---|---|
.. | ||
chat | ||
config | ||
controller | ||
encryption | ||
geoip | ||
log | ||
markdown | ||
middleware | ||
models | ||
photo | ||
ratelimit | ||
redis | ||
router | ||
session | ||
spam | ||
templates | ||
utility | ||
webpush | ||
worker | ||
version.go | ||
webserver.go |