Port 4f42238c29 to glitch-soc
4f42238c29
This is both for consistency with account timelines and to not mess with the logic used to decide whether going back in the browser's history is going to make us leave the WebUI.
Port 4eeda67727 to glitch-soc
4eeda67727