diff options
| author | George Hazan <ghazan@miranda.im> | 2023-04-24 13:41:41 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2023-04-24 13:41:41 +0300 |
| commit | 7a11ce58becfc750e5b4a9bb07102f8d334bbcf6 (patch) | |
| tree | d8d28c73c4f3c5b5953b7785e374e38e89de7580 /include | |
| parent | cce43e30dca000d713131a87ddd78265d71eb763 (diff) | |
Telegram: silent file transfers don't require f/t manager, but simply create offline events
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_protosvc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/m_protosvc.h b/include/m_protosvc.h index 76ed0eb260..c9e6aacfc2 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -768,8 +768,10 @@ EXTERN_C MIR_APP_DLL(MEVENT) Proto_AuthRecv(const char *szProtoName, PROTORECVEV // wParam = 0
// lParam = (LPARAM)(PROTORECVFILE*)&prf
-#define PRFF_UNICODE 1
-#define PRFF_UTF 2
+#define PRFF_UNICODE 0x0001 // in all MAllCStrings .w is valid
+#define PRFF_UTF 0x0002 // in all MAllCStrings .a contains text in UTF8
+#define PRFF_SILENT 0x0004 // do not show file send/receive dialog
+
struct PROTORECVFILE
{
|
