diff options
-rw-r--r-- | plugins/NewStory/src/history_array.cpp | 1 | ||||
-rw-r--r-- | plugins/NewStory/src/templates.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp index e7f6e9bddd..fa411b2178 100644 --- a/plugins/NewStory/src/history_array.cpp +++ b/plugins/NewStory/src/history_array.cpp @@ -38,6 +38,7 @@ bool HistoryArray::ItemData::load(EventLoadMode mode) case EVENTTYPE_JABBER_PRESENCE: wtext = DbEvent_GetTextW(&dbe, CP_ACP); + wtext_del = false; break; case EVENTTYPE_AUTHREQUEST: diff --git a/plugins/NewStory/src/templates.h b/plugins/NewStory/src/templates.h index c8e23f2225..222ebd22f6 100644 --- a/plugins/NewStory/src/templates.h +++ b/plugins/NewStory/src/templates.h @@ -28,7 +28,7 @@ typedef void(*VarFunc)(int mode, TemplateVars* vars, MCONTACT hContact, HistoryA struct TemplateInfo { - enum { VF_COUNT = 5 }; + enum { VF_COUNT = 6 }; char* setting; wchar_t* group; @@ -47,12 +47,12 @@ enum TPL_MESSAGE, TPL_FILE, TPL_SIGN, + TPL_PRESENCE, TPL_OTHER, TPL_AUTH, TPL_ADDED, TPL_DELETED, - TPL_PRESENCE, TPL_COPY_MESSAGE, TPL_COPY_FILE, |