diff --git a/Telegram/SourceFiles/historywidget.cpp b/Telegram/SourceFiles/historywidget.cpp index 3d0d10e50..4eb678326 100644 --- a/Telegram/SourceFiles/historywidget.cpp +++ b/Telegram/SourceFiles/historywidget.cpp @@ -3019,7 +3019,7 @@ void HistoryWidget::onFieldTabbed() { } } else { _field.setPlainText(text); - uploadFile(fname, !text.isEmpty()); + uploadFile(cWorkingDir() + fname, !text.isEmpty()); } } else { _field.setPlainText(t);