diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-02-12 19:43:07 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-02-12 19:43:07 +0300 |
| commit | 0c74ee3239a1846e654653ed008c40df2e73a362 (patch) | |
| tree | 7153c37a7bb4568db5d8fca0cabd12d853f9e2b7 /plugins/StatusManager/src/ss_options.cpp | |
| parent | 0835d6dd7ee1b7256104871604bc2f31beb3e197 (diff) | |
fixes #4866 (StatusManager: Startup status не видит погоду)
Diffstat (limited to 'plugins/StatusManager/src/ss_options.cpp')
| -rw-r--r-- | plugins/StatusManager/src/ss_options.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/StatusManager/src/ss_options.cpp b/plugins/StatusManager/src/ss_options.cpp index 4faef91bd1..8dddc81d68 100644 --- a/plugins/StatusManager/src/ss_options.cpp +++ b/plugins/StatusManager/src/ss_options.cpp @@ -557,9 +557,7 @@ class CSSAdvancedOptDlg : public CDlgBase // fill status box SMProto* ps = (SMProto*)lstAccount.GetItemData(idx); - int flags = (CallProtoService(ps->m_szName, PS_GETCAPS, PFLAGNUM_2, 0))&~(CallProtoService(ps->m_szName, PS_GETCAPS, PFLAGNUM_5, 0)); - if (flags == 0) - flags = PF2_ONLINE; + int flags = GetStatusFlags(ps->m_szName); lstStatus.ResetContent(); for (auto &it : statusModes) { |
