From e1ec72eab6d00b3ba38e5932bc88920f103b6e4a Mon Sep 17 00:00:00 2001 From: aunsane Date: Fri, 27 Apr 2018 21:33:17 +0300 Subject: Telegram: initial commit - tdlib moved to telegram dir --- protocols/Telegram/src/mt_proto.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 protocols/Telegram/src/mt_proto.cpp (limited to 'protocols/Telegram/src/mt_proto.cpp') diff --git a/protocols/Telegram/src/mt_proto.cpp b/protocols/Telegram/src/mt_proto.cpp new file mode 100644 index 0000000000..7766f29025 --- /dev/null +++ b/protocols/Telegram/src/mt_proto.cpp @@ -0,0 +1,24 @@ +#include "stdafx.h" + +CMTProto::CMTProto(const char* protoName, const wchar_t* userName) + : PROTO(protoName, userName) +{ +} + +CMTProto::~CMTProto() +{ +} + +INT_PTR CMTProto::GetCaps(int type, MCONTACT) +{ + switch (type) { + case PFLAG_UNIQUEIDTEXT: + return (INT_PTR)"Phone"; + } + return 0; +} + +int CMTProto::SetStatus(int iNewStatus) +{ + return 0; +} -- cgit v1.2.3