diff options
author | George Hazan <george.hazan@gmail.com> | 2025-04-10 20:01:57 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-04-10 20:01:57 +0300 |
commit | ed959f420d9b8371b1520f76cf0ade857f3bd64f (patch) | |
tree | 469da72e880892b52199aaaa32422653a897ac01 /protocols/Weather/src | |
parent | 369f1083cc1aff54dc81e121bf2d2763ab027574 (diff) |
fixes #4970 (Weather: не может подключиться при старте)
Diffstat (limited to 'protocols/Weather/src')
-rw-r--r-- | protocols/Weather/src/weather_update.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/protocols/Weather/src/weather_update.cpp b/protocols/Weather/src/weather_update.cpp index 82437dbb72..2b4f86d9ca 100644 --- a/protocols/Weather/src/weather_update.cpp +++ b/protocols/Weather/src/weather_update.cpp @@ -143,15 +143,6 @@ int CWeatherProto::UpdateWeather(MCONTACT hContact) // set the update tag setByte(hContact, "IsUpdated", TRUE); - // save current condition for default station to be displayed after the update - int old_status = m_iStatus; - m_iStatus = iStatus; - - // a workaround for a default station that currently have an n/a icon assigned - if (m_iStatus == ID_STATUS_OFFLINE) - m_iStatus = ID_STATUS_CONNECTING; - ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, m_iStatus); - // logging if (Ch) { // play the sound event |