summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_notes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_notes.cpp')
-rw-r--r--protocols/JabberG/src/jabber_notes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_notes.cpp b/protocols/JabberG/src/jabber_notes.cpp
index 3b346ff64c..aeb217c987 100644
--- a/protocols/JabberG/src/jabber_notes.cpp
+++ b/protocols/JabberG/src/jabber_notes.cpp
@@ -39,9 +39,9 @@ CNoteItem::CNoteItem(const TiXmlElement *hXml, const char *szFrom)
{
SetData(
XmlGetChildText(hXml, "title"),
- szFrom ? szFrom : hXml->Attribute("from"),
+ szFrom ? szFrom : XmlGetAttr(hXml, "from"),
Utf2T(XmlGetChildText(hXml, "text")),
- hXml->Attribute("tags"));
+ XmlGetAttr(hXml, "tags"));
}
CNoteItem::~CNoteItem()