Sí, esto debería estar oculto. Crear invitaciones en nombre de otros es una solicitud de función razonable, pero como se mencionó, no la tenemos implementada.
Tengo una solución en desarrollo para ocultar el botón.
main ← fix-hide-invite-hidden-profile
opened 03:19PM - 05 May 26 UTC
Issue with hidden profiles: https://meta.discourse.org/t/invite-tab-shows-on-hid… den-profile/401818
Issue with invite button visible on others' profiles: https://meta.discourse.org/t/weird-invite-button-behavior/401819
1. Checks if the user's profile is hidden in `canInviteToForum` so the tab no longer appears on hidden profiles.
2. Adds check for `viewingSelf` to hide the invite buttons on other profiles
3. Adds tests to avoid regressing
Before:
<img width="2232" height="424" alt="image" src="https://github.com/user-attachments/assets/3d884e5f-46b8-4599-a6d2-8dfc77fd531e" />
After:
<img width="2194" height="450" alt="image" src="https://github.com/user-attachments/assets/1bbd1a11-1558-4800-b3ba-a3d16fc8564f" />
Before:
<img width="2234" height="650" alt="image" src="https://github.com/user-attachments/assets/e4e5e65f-007d-4b7d-9c70-b2a32162f557" />
After:
<img width="2242" height="530" alt="image" src="https://github.com/user-attachments/assets/40c19cf7-6702-4598-8bd4-04f4896c0586" />
3 Me gusta