add file upload via dnd + rework http

This commit is contained in:
ouwou committed 2022-06-17 02:46:55 -04:00
1 parent d0fa308f6e
commit 4ee7025ab0
11 files changed
+146 -33

No files matched your search

+1 -1
View File
@@ -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());
}
}