I know it happened once to me when I was a staff member well I was in spectator but I don’t have a solution, I can tell you though you’re not muted as if you were you could not see what you typed in chat so I’m positive this sounds like a glitch. I’d recommend joining another server and seeing if it’s an issue, restarting tf2 as well