diff options
Diffstat (limited to 'protocols/SkypeWeb/src/requests/chatrooms.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/chatrooms.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/requests/chatrooms.h b/protocols/SkypeWeb/src/requests/chatrooms.h index 84b58e68e9..905f6afd47 100644 --- a/protocols/SkypeWeb/src/requests/chatrooms.h +++ b/protocols/SkypeWeb/src/requests/chatrooms.h @@ -52,7 +52,7 @@ public: node.push_back(JSONNode("clientmessageid", (long)timestamp));
node.push_back(JSONNode("messagetype", "RichText"));
node.push_back(JSONNode("contenttype", "text"));
- node.push_back(JSONNode("content", (char*)ptrA(mir_utf8encode(message))));
+ node.push_back(JSONNode("content", message));
Body << VALUE(node.write().c_str());
}
@@ -73,7 +73,7 @@ public: node.push_back(JSONNode("clientmessageid", (long)timestamp));
node.push_back(JSONNode("messagetype", "RichText"));
node.push_back(JSONNode("contenttype", "text"));
- node.push_back(JSONNode("content", (char*)ptrA(mir_utf8encode(message))));
+ node.push_back(JSONNode("content", message));
node.push_back(JSONNode("skypeemoteoffset", 4));
Body << VALUE(node.write().c_str());
|