adding class version of join org module
This commit is contained in:
@@ -12,6 +12,21 @@ function join_org.initiate(initiator, org, result)
|
||||
end
|
||||
)
|
||||
|
||||
-- for i, member in ipairs(org.members) do
|
||||
-- org:add_pending_action(
|
||||
-- member,
|
||||
-- function ()
|
||||
-- modpol.interactions.binary_poll_user(
|
||||
-- member,
|
||||
-- "Let " .. initiator .. " join " .. org.name .. "?",
|
||||
-- function (resp)
|
||||
|
||||
-- end
|
||||
-- )
|
||||
-- end
|
||||
-- )
|
||||
-- end
|
||||
|
||||
if result then result() end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user