diff options
author | George Hazan <george.hazan@gmail.com> | 2024-03-06 10:53:32 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-03-06 10:53:32 +0300 |
commit | 7fa3372fc1b0ee5b0f70c2bfb495cb922ca499e3 (patch) | |
tree | 705fa44e2c39963fd29ec6246da4d9bea3975ba6 /plugins/NewStory/src/history_array.cpp | |
parent | 06a86a12c757b2b77e994772c3bd7e2583f7f7a9 (diff) |
code cleaning
Diffstat (limited to 'plugins/NewStory/src/history_array.cpp')
-rw-r--r-- | plugins/NewStory/src/history_array.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp index e82dade5aa..195cf55896 100644 --- a/plugins/NewStory/src/history_array.cpp +++ b/plugins/NewStory/src/history_array.cpp @@ -515,9 +515,6 @@ void HistoryArray::clear() void HistoryArray::addChatEvent(SESSION_INFO *si, const LOGINFO *lin)
{
- if (si == nullptr)
- return;
-
int numItems = getCount();
auto &p = allocateItem();
p.hContact = si->hContact;
|