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:
parent
b95d67aefb
commit
6bbae4cea2
@ -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) ->
|
||||
|
Loading…
Reference in New Issue
Block a user