mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 19:42:11 +02:00
Add Id attribute in stanza built by send_message command
This commit is contained in:
parent
25f7f974b9
commit
0e5b343f1b
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue