summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-12-13 21:55:31 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-12-13 21:55:31 +0300
commite72ccc740bfa7c6493a56abc168eb270f76f0cba (patch)
treeb23e5c2774f68164166dd7b4857a913e3a83093b /protocols/Telegram/src/main.cpp
parentc6ffce9bd99bc9073b2b09fc7303cde5575ded66 (diff)
Telegram: blue star for premium users
Diffstat (limited to 'protocols/Telegram/src/main.cpp')
-rw-r--r--protocols/Telegram/src/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/Telegram/src/main.cpp b/protocols/Telegram/src/main.cpp
index 2cc1146b2a..f2fb0cd153 100644
--- a/protocols/Telegram/src/main.cpp
+++ b/protocols/Telegram/src/main.cpp
@@ -38,8 +38,14 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_PROTOC
/////////////////////////////////////////////////////////////////////////////////////////
+static IconItem iconList[] =
+{
+ { LPGEN("Premium user"), "premuim", IDI_PREMIUM },
+};
+
extern "C" int __declspec(dllexport) Load(void)
{
+ g_plugin.registerIcon("Protocols/Telegram", iconList, "tg");
return 0;
}