summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-03-30 15:06:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-03-30 15:06:19 +0000
commit84a693e4ea7d3072b2188152736aca7c8b885863 (patch)
tree0ccea849066ca3cd2836811d419d519d5d1d9666 /plugins/TabSRMM/src/chat/main.cpp
parent5af8f1dae14233cb203d78da7b5b1a286272cc6a (diff)
fix for the correct restoring of filter in tabSRMM
git-svn-id: http://svn.miranda-ng.org/main/trunk@12551 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/chat/main.cpp')
-rw-r--r--plugins/TabSRMM/src/chat/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/chat/main.cpp b/plugins/TabSRMM/src/chat/main.cpp
index 8b9248c5bd..e41c697c29 100644
--- a/plugins/TabSRMM/src/chat/main.cpp
+++ b/plugins/TabSRMM/src/chat/main.cpp
@@ -44,6 +44,8 @@ static void OnAddLog(SESSION_INFO *si, int isOk)
static void OnCreateSession(SESSION_INFO *si, MODULEINFO *mi)
{
+ si->bFilterEnabled = db_get_b(si->hContact, "Chat", "FilterEnabled", M.GetByte("Chat", "FilterEnabled", 0));
+
Chat_SetFilters(si);
if (mi) {
mi->idleTimeStamp = time(0);