Version 0.10.1: fix for deep linking start/startgroup in bot links.
This commit is contained in:
		
							parent
							
								
									a25f55ba68
								
							
						
					
					
						commit
						67a3f33aa7
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		|  | @ -49,7 +49,7 @@ QString tryConvertUrlToLocal(QString url) { | ||||||
| 		} else if (auto confirmPhoneMatch = regex_match(qsl("^confirmphone/?\\?(.+)"), query, matchOptions)) { | 		} else if (auto confirmPhoneMatch = regex_match(qsl("^confirmphone/?\\?(.+)"), query, matchOptions)) { | ||||||
| 			return qsl("tg://confirmphone?") + confirmPhoneMatch->captured(1); | 			return qsl("tg://confirmphone?") + confirmPhoneMatch->captured(1); | ||||||
| 		} else if (auto usernameMatch = regex_match(qsl("^([a-zA-Z0-9\\.\\_]+)(/?\\?|/?$|/(\\d+)/?(?:\\?|$))"), query, matchOptions)) { | 		} else if (auto usernameMatch = regex_match(qsl("^([a-zA-Z0-9\\.\\_]+)(/?\\?|/?$|/(\\d+)/?(?:\\?|$))"), query, matchOptions)) { | ||||||
| 			QString params = url.mid(usernameMatch->captured(0).size()), postParam; | 			QString params = query.mid(usernameMatch->captured(0).size()).toString(), postParam; | ||||||
| 			if (auto postMatch = regex_match(qsl("^/\\d+/?(?:\\?|$)"), usernameMatch->captured(2))) { | 			if (auto postMatch = regex_match(qsl("^/\\d+/?(?:\\?|$)"), usernameMatch->captured(2))) { | ||||||
| 				postParam = qsl("&post=") + usernameMatch->captured(3); | 				postParam = qsl("&post=") + usernameMatch->captured(3); | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
|  | @ -46,6 +46,11 @@ set "SignPath=%HomePath%\..\..\TelegramPrivate\Sign.bat" | ||||||
| set "BinaryName=Telegram" | set "BinaryName=Telegram" | ||||||
| set "DropboxSymbolsPath=X:\Telegram\symbols" | set "DropboxSymbolsPath=X:\Telegram\symbols" | ||||||
| 
 | 
 | ||||||
|  | if not exist %DropboxSymbolsPath% ( | ||||||
|  |   echo Dropbox path not found! | ||||||
|  |   exit /b 1 | ||||||
|  | ) | ||||||
|  | 
 | ||||||
| if %BetaVersion% neq 0 ( | if %BetaVersion% neq 0 ( | ||||||
|   if exist %DeployPath%\ ( |   if exist %DeployPath%\ ( | ||||||
|     echo Deploy folder for version %AppVersionStr% already exists! |     echo Deploy folder for version %AppVersionStr% already exists! | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 John Preston
						John Preston