diff options
| -rw-r--r-- | protocols/Telegram/src/proto.cpp | 2 | ||||
| -rw-r--r-- | src/mir_app/src/file.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp index f04e16f4e1..6997ff8374 100644 --- a/protocols/Telegram/src/proto.cpp +++ b/protocols/Telegram/src/proto.cpp @@ -321,7 +321,7 @@ INT_PTR CTelegramProto::GetCaps(int type, MCONTACT) return PF2_ONLINE | PF2_SHORTAWAY | PF2_LONGAWAY; case PFLAGNUM_4: - return PF4_NOCUSTOMAUTH | PF4_FORCEAUTH | PF4_NOAUTHDENYREASON | PF4_SUPPORTTYPING | PF4_AVATARS | PF4_SERVERMSGID; + return PF4_NOCUSTOMAUTH | PF4_FORCEAUTH | PF4_OFFLINEFILES | PF4_NOAUTHDENYREASON | PF4_SUPPORTTYPING | PF4_AVATARS | PF4_SERVERMSGID; case PFLAGNUM_5: return PF2_SHORTAWAY | PF2_LONGAWAY; diff --git a/src/mir_app/src/file.cpp b/src/mir_app/src/file.cpp index db586336c3..7cde57d9f4 100644 --- a/src/mir_app/src/file.cpp +++ b/src/mir_app/src/file.cpp @@ -176,6 +176,8 @@ static int SRFileModulesLoaded(WPARAM, LPARAM) Srmm_AddButton(&bbd, &g_plugin); HookEvent(ME_MSG_BUTTONPRESSED, OnToolbarButtonPressed); + HookEvent(ME_CLIST_PREBUILDCONTACTMENU, SRFilePreBuildMenu); + HookEvent(ME_PROTO_ACK, SRFileProtoAck); RemoveUnreadFileEvents(); return 0; @@ -344,8 +346,6 @@ int LoadSendRecvFileModule(void) HookEvent(ME_SYSTEM_PRESHUTDOWN, SRFilePreShutdown); HookEvent(ME_OPT_INITIALISE, SRFileOptInitialise); HookEvent(ME_DB_EVENT_DELETED, SRFileEventDeleted); - HookEvent(ME_CLIST_PREBUILDCONTACTMENU, SRFilePreBuildMenu); - HookEvent(ME_PROTO_ACK, SRFileProtoAck); hDlgSucceeded = CreateHookableEvent(ME_FILEDLG_SUCCEEDED); hDlgCanceled = CreateHookableEvent(ME_FILEDLG_CANCELED); |
