25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

send_direct_invitation command is now asynchronous

EJABS-3593
This commit is contained in:
Jerome Sautret 2020-10-15 11:40:22 +02:00
parent b95d67aefb
commit 6bbae4cea2

View File

@ -938,7 +938,6 @@ send_direct_invitation(RoomName, RoomService, Password, Reason, UsersString) ->
Users = get_users_to_invite(RoomJid, UsersString),
[send_direct_invitation(RoomJid, UserJid, XmlEl)
|| UserJid <- Users],
timer:sleep(1000),
ok.
get_users_to_invite(RoomJid, UsersString) ->