From 7a11ce58becfc750e5b4a9bb07102f8d334bbcf6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 24 Apr 2023 13:41:41 +0300 Subject: Telegram: silent file transfers don't require f/t manager, but simply create offline events --- include/m_protosvc.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') 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 { -- cgit v1.2.3