summaryrefslogtreecommitdiff
path: root/protocols/NewsAggregator/Src/Services.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-21 19:02:12 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-21 19:02:12 +0300
commita4c4e3fc08395be5fc83b6f36fc1be07dbe5b245 (patch)
tree460b1564a6981e862093eed9d6cfa7c7234085d1 /protocols/NewsAggregator/Src/Services.cpp
parentee23690fa6c847a5284f8145e73328cdaab2b617 (diff)
fixes #3945 (Плагины сообщений: скрывать элементы окна в зависимости от типа привата)
Diffstat (limited to 'protocols/NewsAggregator/Src/Services.cpp')
-rw-r--r--protocols/NewsAggregator/Src/Services.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/NewsAggregator/Src/Services.cpp b/protocols/NewsAggregator/Src/Services.cpp
index a05231779a..ed4f9e49cd 100644
--- a/protocols/NewsAggregator/Src/Services.cpp
+++ b/protocols/NewsAggregator/Src/Services.cpp
@@ -37,6 +37,7 @@ int NewsAggrInit(WPARAM, LPARAM)
mir_wstrncpy(tszRoot, VARSW(L"%miranda_userdata%\\Avatars\\" _A2W(DEFAULT_AVATARS_FOLDER)), _countof(tszRoot));
for (auto &hContact : Contacts(MODULENAME)) {
+ Contact::Readonly(hContact);
if (!g_plugin.getByte("StartupRetrieve", 1))
g_plugin.setDword(hContact, "LastCheck", (uint32_t)time(0));
g_plugin.setWord(hContact, "Status", ID_STATUS_ONLINE);