mirror of
https://github.com/ars3niy/tdlib-purple
synced 2025-08-22 09:57:52 +00:00
My CXXFLAGS were gone again
This commit is contained in:
parent
9e7d83336f
commit
d1c5242b6b
@ -389,9 +389,10 @@ std::string getDownloadPath(const td::td_api::object_ptr<td::td_api::Object> &do
|
|||||||
purple_debug_warning(config::pluginId, "File not completely downloaded\n");
|
purple_debug_warning(config::pluginId, "File not completely downloaded\n");
|
||||||
else
|
else
|
||||||
return file.local_->path_;
|
return file.local_->path_;
|
||||||
} else
|
} else {
|
||||||
purple_debug_warning(config::pluginId, "Error downloading file: %s\n",
|
std::string message = getDisplayedError(downloadResponse);
|
||||||
getDisplayedError(downloadResponse));
|
purple_debug_warning(config::pluginId, "Error downloading file: %s\n", message.c_str());
|
||||||
|
}
|
||||||
|
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
@ -21,8 +21,8 @@ public:
|
|||||||
const ChatId chatId;
|
const ChatId chatId;
|
||||||
StickerConversionThread(PurpleAccount *purpleAccount, const std::string &filename,
|
StickerConversionThread(PurpleAccount *purpleAccount, const std::string &filename,
|
||||||
ChatId chatId, TgMessageInfo &&message)
|
ChatId chatId, TgMessageInfo &&message)
|
||||||
: AccountThread(purpleAccount), inputFileName(filename), chatId(chatId),
|
: AccountThread(purpleAccount), m_message(std::move(message)), inputFileName(filename),
|
||||||
m_message(std::move(message)) {}
|
chatId(chatId) {}
|
||||||
StickerConversionThread(PurpleAccount *purpleAccount, const std::string &filename,
|
StickerConversionThread(PurpleAccount *purpleAccount, const std::string &filename,
|
||||||
ChatId chatId, const TgMessageInfo *message)
|
ChatId chatId, const TgMessageInfo *message)
|
||||||
: AccountThread(purpleAccount), inputFileName(filename), chatId(chatId)
|
: AccountThread(purpleAccount), inputFileName(filename), chatId(chatId)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user