We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25018a5 commit d2eae8dCopy full SHA for d2eae8d
src/mod_offline_http_post.erl
@@ -34,7 +34,7 @@ post_offline_message(From, To, Body, SubType, MessageId) ->
34
ToUser = To#jid.luser,
35
FromUser = From#jid.luser,
36
Vhost = To#jid.lserver,
37
- Data = string:join(["to=", binary_to_list(ToUser), "&from=", binary_to_list(FromUser), "&vhost=", binary_to_list(Vhost), "&body=", binary_to_list(Body), "&messageId=", binary_t$
+ Data = string:join(["to=", binary_to_list(ToUser), "&from=", binary_to_list(FromUser), "&vhost=", binary_to_list(Vhost), "&body=", binary_to_list(Body), "&messageId=", binary_to_list(MessageId)], ""),
38
Request = {binary_to_list(PostUrl), [{"Authorization", binary_to_list(Token)}], "application/x-www-form-urlencoded", Data},
39
httpc:request(post, Request,[],[]),
40
?INFO_MSG("post request sent", []).
0 commit comments