Forgot PIN Code
If you forget your PIN, you should be able to reset it using your X account credentials rather than going through customer support. The expected flow is something like Forgot PIN, re-authenticate with your X account, and then set a new PIN.
But there is an important tradeoff to understand up front. In some high-security designs, resetting the PIN can also trigger a key reset, which may make older messages inaccessible because the old encryption state no longer matches the new one. XChat has not fully explained its exact recovery model yet, but this is a common issue in end-to-end encrypted apps.
Practical advice: store the PIN in a password manager such as 1Password or iCloud Keychain. Do not use something guessable like a birthday or repeated digits, and do not reuse your X account password. The entire point of the PIN is that it acts as a separate second lock.