summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/mt_proto.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-04-27 21:33:17 +0300
committeraunsane <aunsane@gmail.com>2018-04-27 21:33:17 +0300
commite1ec72eab6d00b3ba38e5932bc88920f103b6e4a (patch)
tree999de2725a83e30fbbf6576200525d4ef0c5fe38 /protocols/Telegram/src/mt_proto.cpp
parentb9ce1d4d98525490ca1a38e2d9fd4f3369adb3e0 (diff)
Telegram: initial commit
- tdlib moved to telegram dir
Diffstat (limited to 'protocols/Telegram/src/mt_proto.cpp')
-rw-r--r--protocols/Telegram/src/mt_proto.cpp24
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;
+}