()
| 1182 | } |
| 1183 | |
| 1184 | async function fetchAvailableLanguageCodes () { |
| 1185 | try { |
| 1186 | const result = await fetchHttp('https://translations.telegram.org/languages/list/android_x'); |
| 1187 | if (typeof result === 'string') { |
| 1188 | return JSON.parse(result); |
| 1189 | } else { |
| 1190 | console.error('fetchAvailableLanguageCodes result is not a string', result); |
| 1191 | } |
| 1192 | } catch (e) { |
| 1193 | console.log('fetchAvailableLanguageCodes failed', e); |
| 1194 | } |
| 1195 | return ['en']; |
| 1196 | } |
| 1197 | |
| 1198 | async function modifyNativeDebugSymbolsArchive (filePath) { |
| 1199 | let allowExtraDebugSymbols = false; |
nothing calls this directly
no test coverage detected