| 823 | } |
| 824 | |
| 825 | void MessageParser::parseAppMsgChannelCard(const WXAPPMSG& appMsg, const XmlParser& xmlParser, const Session& session, TemplateValues& tv) const |
| 826 | { |
| 827 | // Channel Card |
| 828 | std::map<std::string, std::string> nodes = { {"username", ""}, {"avatar", ""}, {"nickname", ""}}; |
| 829 | xmlParser.parseNodesValue("/msg/appmsg/findernamecard/*", nodes); |
| 830 | |
| 831 | std::string portraitDir = ((m_options & SPO_ICON_IN_SESSION) == SPO_ICON_IN_SESSION) ? session.getOutputFileName() + "_files/Portrait" : "Portrait"; |
| 832 | |
| 833 | parseChannelCard(session, portraitDir, nodes["username"], nodes["avatar"], "", nodes["nickname"], tv); |
| 834 | } |
| 835 | |
| 836 | void MessageParser::parseAppMsgChannels(const WXAPPMSG& appMsg, const XmlParser& xmlParser, const Session& session, TemplateValues& tv) const |
| 837 | { |
nothing calls this directly
no test coverage detected