Hi, I have just installed Telegram and registered for the first time. It asked for SMS permission and then Phone permission to automatically receive the confirmation code. I have answered 'Don't allow' to both prompts, as I wanted to enter the code manually. Then the app showed the code screen, I have pulled down the notifications to read the code, but when I returned to the app it was on the next screen already, and didn't require the code at all.
I can think of only two possibilities: either the app has a bug and skips the code screen if it doesn't have SMS/Phone permission, or GrapheneOS has a bug and gives the app the SMS permission even though I have told it not to.
Afterwards I checked the app permissions in the system, and the Phone permission is 'Not allowed'. There is no SMS permission in the list at all.
What is going on?