added ability to disable third-party verification

This commit is contained in:
onysd 2026-08-06 05:27:48 +03:00
parent 4f0fa895c1
commit 36350f83dc
17 changed files with 211 additions and 69 deletions

View file

@ -234,6 +234,14 @@ TELESRV_VERIFICATION_ALLOW_USER_TARGETS=false
# peer's name) -- a separate mechanism from the checkmark above, not the
# platform badge. Its tuning lives in the Advanced section below.
TELESRV_BOT_VERIFICATION_ENABLED=true
# THIS FEATURE IS NOT FULLY FINISHED AND MAY CAUSE UNSTABLE SERVER BEHAVIOR.
# Hides third-party bot verification instead of removing it: the admin panel
# drops its "Third-party marks" nav entry and refuses every underlying route
# with 404 regardless of session permissions, and the built-in @marksbot
# service bot stops responding to messages entirely. Everything stays wired
# up (nothing is deleted), so setting this to false re-enables it. Default
# true -- leave it alone unless you are specifically testing this feature.
TELESRV_HIDE_THIRD_PARTY_VERIFICATION=true
# Local composite account-rating score (stars/activity/moderation-based).
# Shown to every viewer via userFull.stars_rating, not admin-only. Scoring
# weights and recompute timing live in the Advanced section below.