diff options
author | George Hazan <george.hazan@gmail.com> | 2023-09-28 18:49:37 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-09-28 18:49:37 +0300 |
commit | 679cd2308b3ea39bbe8bbf2e7e5ba7e37a30f1e0 (patch) | |
tree | 72483a645c483cd72aeef8880391be513c677add /plugins | |
parent | 571b85188be1ad552e42c821124850a5647d9d3e (diff) |
tabSRMM: fix for broken log message loading
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index f3c43f7fc6..9bd223f402 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -560,6 +560,8 @@ bool CMsgDialog::OnInitDialog() LoadContactAvatar();
LoadOwnAvatar();
+
+ GetFirstEvent();
OnOptionsApplied();
if (isChat()) {
@@ -575,8 +577,6 @@ bool CMsgDialog::OnInitDialog() UpdateChatLog();
}
else {
- GetFirstEvent();
-
DB::ECPTR pCursor(DB::EventsRev(m_hContact));
while (MEVENT hdbEvent = pCursor.FetchNext()) {
DBEVENTINFO dbei = {};
|