Sync upstream to https://github.com/Chatterino/chatterino2/commit/7bae9185ccdb408740cde2e6b1bff044e830eeb3
generate-thumbnail.sh: fix variable name in comment
generate-thumbnail.sh: move ID extraction from multiple patterns to extract_id_from_unknown_string()
Sync upstream to https://github.com/Chatterino/chatterino2/commit/f0b70f2307037888c90fe8558842eba66bf9ec3a
README.md: improve sorting command in 5.2.2. Sort script by exit code
sync_to_upstream_fetch_patch.sh: detect submodule pointer mismatches before applying upstream patch
sync_to_upstream_fetch_patch.sh: check also during git apply
Sync upstream to https://github.com/Chatterino/chatterino2/commit/b587b659bd1e07ac59c4b56ca09a8690e4da5b24