diff options
Diffstat (limited to 'protocols/Telegram/src/mt_proto.cpp')
-rw-r--r-- | protocols/Telegram/src/mt_proto.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
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<CMTProto>(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; +} |