Delete overloads for uploadImageToNuuls(). Use TypedBytes in the main
definition. Use QHttpMultiPart instead of manually creating the request.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
namespace chatterino {
|
||||
struct TypedBytes {
|
||||
QByteArray data;
|
||||
std::string type;
|
||||
QString type;
|
||||
};
|
||||
void uploadImageToNuuls(QByteArray imageData, ChannelPtr channel,
|
||||
ResizingTextEdit &textEdit, std::string format);
|
||||
|
||||
Reference in New Issue
Block a user