diff options
author | George Hazan <ghazan@miranda.im> | 2017-02-03 21:46:15 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-02-03 21:46:15 +0300 |
commit | de330d15973d8a3303a242934229e8f9d87d4361 (patch) | |
tree | f9292247005d2935e7a53153772de5a7f156cecd | |
parent | 5cba53440b3b01f9844fb8a395ada6be40a54a7a (diff) |
.
-rw-r--r-- | src/mir_app/src/proto_utils.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mir_app/src/proto_utils.cpp b/src/mir_app/src/proto_utils.cpp index 32d8c10f8c..6ba435414e 100644 --- a/src/mir_app/src/proto_utils.cpp +++ b/src/mir_app/src/proto_utils.cpp @@ -239,14 +239,14 @@ MIR_APP_DLL(int) ProtoGetAvatarFileFormat(const wchar_t *ptszFileName) static wchar_t *wszMimeTypes[] =
{
- L"binary", // PA_FORMAT_UNKNOWN
- L"image/png", // PA_FORMAT_PNG
- L"image/jpeg", // PA_FORMAT_JPEG
- L"image/icon", // PA_FORMAT_ICON
- L"image/bmp", // PA_FORMAT_BMP
- L"image/gif", // PA_FORMAT_GIF
- L"image/swf", // PA_FORMAT_SWF
- L"application/xml" // PA_FORMAT_XML
+ L"application/octet-stream", // PA_FORMAT_UNKNOWN
+ L"image/png", // PA_FORMAT_PNG
+ L"image/jpeg", // PA_FORMAT_JPEG
+ L"image/icon", // PA_FORMAT_ICON
+ L"image/bmp", // PA_FORMAT_BMP
+ L"image/gif", // PA_FORMAT_GIF
+ L"image/swf", // PA_FORMAT_SWF
+ L"application/xml" // PA_FORMAT_XML
};
MIR_APP_DLL(const wchar_t*) ProtoGetAvatarMimeType(int iFileType)
|