Files
@ 829c94f3d6c9
Branch filter:
Location: libtransport.git/include/Swiften/Elements/XHTMLIMPayload.h - annotation
829c94f3d6c9
531 B
text/plain
Added way to disable xhtmlim from backend and don't handle messages with empty body
64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c | /*
* Copyright (c) 2011 Jan Kaluza
* Licensed under the Simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#pragma once
#include <vector>
#include <string>
#include <Swiften/Elements/Payload.h>
namespace Swift {
class XHTMLIMPayload : public Payload {
public:
XHTMLIMPayload(const std::string &body = "");
const std::string& getBody() const { return body_; }
void setBody(const std::string& body) {
body_ = body;
}
private:
std::string body_;
};
}
|