mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Add Id attribute in stanza built by send_message command
This commit is contained in:
parent
25f7f974b9
commit
0e5b343f1b
@ -1541,6 +1541,7 @@ send_message(Type, From, To, Subject, Body) ->
|
||||
build_packet(Type, Subject, Body) ->
|
||||
#message{type = misc:binary_to_atom(Type),
|
||||
body = xmpp:mk_text(Body),
|
||||
id = randoms:get_string(),
|
||||
subject = xmpp:mk_text(Subject)}.
|
||||
|
||||
send_stanza(FromString, ToString, Stanza) ->
|
||||
|
Loading…
Reference in New Issue
Block a user