summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-02-21 17:09:34 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-02-21 17:09:34 +0300
commit12aa166ab2c280b1b8cf4d8507512c750a587de1 (patch)
treed86aaa3dd022a13e7c9e77b7db468ad260bdf634 /protocols/Telegram/src
parent4d2f4fab80174f6ab5e730b62fdf7abda015768b (diff)
code cleaning
Diffstat (limited to 'protocols/Telegram/src')
-rw-r--r--protocols/Telegram/src/avatars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/avatars.cpp b/protocols/Telegram/src/avatars.cpp
index 225dcee0e2..d3d8cf2d1d 100644
--- a/protocols/Telegram/src/avatars.cpp
+++ b/protocols/Telegram/src/avatars.cpp
@@ -101,7 +101,7 @@ void CTelegramProto::ProcessFile(TD::updateFile *pObj)
SMADD_CONT cont = {1, m_szModuleName, it->m_destPath};
CallService(MS_SMILEYADD_LOADCONTACTSMILEYS, 0, LPARAM(&cont));
}
- m_arFiles.remove(m_arFiles.indexOf(&it));
+ m_arFiles.removeItem(&it);
return;
}
}