MCPcopy Create free account
hub / github.com/BlueMatthew/WechatExporter / parseAppMsgText

Method parseAppMsgText

WechatExporter/core/MessageParser.cpp:709–715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707////////////////////////////////
708
709void MessageParser::parseAppMsgText(const WXAPPMSG& appMsg, const XmlParser& xmlParser, const Session& session, TemplateValues& tv) const
710{
711 std::string title;
712 xmlParser.parseNodeValue("/msg/appmsg/title", title);
713 xmlParser.parseNodeValue("/msg/appmsg/title", title);
714 tv["%%MESSAGE%%"] = title.empty() ? getLocaleString("[Link]") : title;
715}
716
717void MessageParser::parseAppMsgImage(const WXAPPMSG& appMsg, const XmlParser& xmlParser, const Session& session, TemplateValues& tv) const
718{

Callers

nothing calls this directly

Calls 1

parseNodeValueMethod · 0.80

Tested by

no test coverage detected