| 309 | } |
| 310 | |
| 311 | void MessageParser::parsePushMail(const WXMSG& msg, const Session& session, TemplateValues& tv) const |
| 312 | { |
| 313 | std::string subject; |
| 314 | std::string digest; |
| 315 | XmlParser xmlParser(msg.content); |
| 316 | xmlParser.parseNodeValue("/msg/pushmail/content/subject", subject); |
| 317 | xmlParser.parseNodeValue("/msg/pushmail/content/digest", digest); |
| 318 | |
| 319 | tv.setName("plainshare"); |
| 320 | |
| 321 | tv["%%SHARINGURL%%"] = "##"; |
| 322 | tv["%%SHARINGTITLE%%"] = subject; |
| 323 | tv["%%MESSAGE%%"] = digest; |
| 324 | } |
| 325 | |
| 326 | void MessageParser::parseVideo(const WXMSG& msg, const Session& session, std::string& senderId, TemplateValues& tv) const |
| 327 | { |
nothing calls this directly
no test coverage detected