mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-13 20:18:50 +03:00
add file upload via dnd + rework http
This commit is contained in:
@@ -746,7 +746,7 @@ void Abaddon::ActionChatLoadHistory(Snowflake id) {
|
||||
static void ChatMessageSentCallback(const ChatSubmitParams &data) {
|
||||
printf("completed for %s\n", data.Message.c_str());
|
||||
for (const auto &attachment : data.Attachments) {
|
||||
puts(attachment.Path.c_str());
|
||||
puts(attachment.File->get_path().c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user