2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

fixed file sending from templates

This commit is contained in:
John Preston
2014-08-22 14:27:05 +04:00
parent 2a8bf173b2
commit 38e8e51ec5

View File

@@ -3019,7 +3019,7 @@ void HistoryWidget::onFieldTabbed() {
}
} else {
_field.setPlainText(text);
uploadFile(fname, !text.isEmpty());
uploadFile(cWorkingDir() + fname, !text.isEmpty());
}
} else {
_field.setPlainText(t);