From 897d6fe41f14eadc0003bc2b76a8433b626b1557 Mon Sep 17 00:00:00 2001 From: Mataes Date: Tue, 7 Apr 2020 19:38:23 +0300 Subject: newstory: fixed utf in messages --- plugins/NewStory/src/templates.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/NewStory/src/templates.cpp') diff --git a/plugins/NewStory/src/templates.cpp b/plugins/NewStory/src/templates.cpp index 848f12e208..48fffaa62a 100644 --- a/plugins/NewStory/src/templates.cpp +++ b/plugins/NewStory/src/templates.cpp @@ -236,49 +236,49 @@ void vfEvent(int, TemplateVars *vars, MCONTACT, HistoryArray::ItemData *item) void vfMessage(int, TemplateVars *vars, MCONTACT, HistoryArray::ItemData *item) { // %M: the message string itself - vars->SetVar('M', item->getTBuf(), false); + vars->SetVar('M', item->getWBuf(), false); } void vfFile(int, TemplateVars *vars, MCONTACT, HistoryArray::ItemData *item) { // %M: the message string itself - vars->SetVar('M', item->getTBuf(), false); + vars->SetVar('M', item->getWBuf(), false); } void vfUrl(int, TemplateVars *vars, MCONTACT, HistoryArray::ItemData *item) { // %M: the message string itself - vars->SetVar('M', item->getTBuf(), false); + vars->SetVar('M', item->getWBuf(), false); } void vfSign(int, TemplateVars *vars, MCONTACT, HistoryArray::ItemData *item) { // %M: the message string itself - vars->SetVar('M', item->getTBuf(), false); + vars->SetVar('M', item->getWBuf(), false); } void vfAuth(int, TemplateVars *vars, MCONTACT, HistoryArray::ItemData *item) { // %M: the message string itself - vars->SetVar('M', item->getTBuf(), false); + vars->SetVar('M', item->getWBuf(), false); } void vfAdded(int, TemplateVars *vars, MCONTACT, HistoryArray::ItemData *item) { // %M: the message string itself - vars->SetVar('M', item->getTBuf(), false); + vars->SetVar('M', item->getWBuf(), false); } void vfPresence(int, TemplateVars* vars, MCONTACT, HistoryArray::ItemData* item) { // %M: the message string itself - vars->SetVar('M', item->getTBuf(), false); + vars->SetVar('M', item->getWBuf(), false); } void vfDeleted(int, TemplateVars *vars, MCONTACT, HistoryArray::ItemData *item) { // %M: the message string itself - vars->SetVar('M', item->getTBuf(), false); + vars->SetVar('M', item->getWBuf(), false); } void vfOther(int, TemplateVars *vars, MCONTACT, HistoryArray::ItemData *) -- cgit v1.2.3