mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Version 0.10.20: don't allow the share url start with an inline bot.
This commit is contained in:
@@ -722,6 +722,10 @@ void MainWidget::shareContactLayer(UserData *contact) {
|
||||
}
|
||||
|
||||
void MainWidget::shareUrlLayer(const QString &url, const QString &text) {
|
||||
// Don't allow to insert an inline bot query by share url link.
|
||||
if (url.trimmed().startsWith('@')) {
|
||||
return;
|
||||
}
|
||||
hiderLayer(new HistoryHider(this, url, text));
|
||||
}
|
||||
|
||||
|
@@ -176,7 +176,7 @@ echo .
|
||||
echo Version %AppVersionStrFull% is ready for deploy!
|
||||
echo .
|
||||
|
||||
set "FinalReleasePath=Z:\TBuild\tother\tsetup"
|
||||
set "FinalReleasePath=Y:\TBuild\tother\tsetup"
|
||||
set "FinalDeployPath=%FinalReleasePath%\%AppVersionStrMajor%\%AppVersionStrFull%"
|
||||
|
||||
if not exist "%DeployPath%\%UpdateFile%" goto error
|
||||
|
Reference in New Issue
Block a user