mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
add file upload via dnd + rework http
This commit is contained in:
1 parent
d0fa308f6e
commit
4ee7025ab0
11 files changed
+146
-33
No files matched your search
+1
-1
@@ -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