summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/templates.cpp
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2020-04-07 19:38:23 +0300
committerMataes <mataes2007@gmail.com>2020-04-07 19:38:23 +0300
commit897d6fe41f14eadc0003bc2b76a8433b626b1557 (patch)
tree66e894b1ac13d788a8b3a833722b5c6d17fc18fc /plugins/NewStory/src/templates.cpp
parent11a4a63971a17d4fd19a7406f9a7bc8cbe944964 (diff)
newstory: fixed utf in messages
Diffstat (limited to 'plugins/NewStory/src/templates.cpp')
-rw-r--r--plugins/NewStory/src/templates.cpp16
1 files changed, 8 insertions, 8 deletions
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 *)