fix: stop syncing email in panel descriptions

This commit is contained in:
3252a8
2026-05-24 21:36:00 +03:00
parent 00b54e1f15
commit d9a23235e5
8 changed files with 154 additions and 24 deletions
-1
View File
@@ -61,7 +61,6 @@ class ProfileSyncMiddleware(BaseMiddleware):
if panel_service and db_user.panel_user_uuid:
description_text = "\n".join(
[
db_user.email or "",
username_for_display(tg_user.username, with_at=False)
if sanitized_username is not None
else "",