summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/SkypeWeb/src/requests/chatrooms.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/requests/chatrooms.h b/protocols/SkypeWeb/src/requests/chatrooms.h
index 8ef23481ce..87531bed1a 100644
--- a/protocols/SkypeWeb/src/requests/chatrooms.h
+++ b/protocols/SkypeWeb/src/requests/chatrooms.h
@@ -57,7 +57,7 @@ public:
json_push_back(node, json_new_i("clientmessageid", timestamp));
json_push_back(node, json_new_a("messagetype", "RichText"));
json_push_back(node, json_new_a("contenttype", "text"));
- json_push_back(node, json_new_a("content", message));
+ json_push_back(node, json_new_a("content", ptrA(mir_utf8encode(message))));
json_push_back(node, json_new_i("skypeemoteoffset", 4));
ptrA data(mir_utf8encodeT(ptrT(json_write(node))));