diff options
author | Mario <mario@mariovavti.com> | 2022-11-30 09:18:57 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-11-30 09:18:57 +0000 |
commit | 3ce1373ae0e5355b9d10eab5f5b8078245c4b8b6 (patch) | |
tree | bafa58c544681691d10e1878b9438d134bd4ee26 /Zotlabs/Module/Invite.php | |
parent | 4002531b9296f764c20da2f50ff1bb5feef6dccb (diff) | |
download | volse-hubzilla-3ce1373ae0e5355b9d10eab5f5b8078245c4b8b6.tar.gz volse-hubzilla-3ce1373ae0e5355b9d10eab5f5b8078245c4b8b6.tar.bz2 volse-hubzilla-3ce1373ae0e5355b9d10eab5f5b8078245c4b8b6.zip |
provide a pdl file for mod invite and set the profile
Diffstat (limited to 'Zotlabs/Module/Invite.php')
-rw-r--r-- | Zotlabs/Module/Invite.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Zotlabs/Module/Invite.php b/Zotlabs/Module/Invite.php index 2a126ac27..bb552e4c7 100644 --- a/Zotlabs/Module/Invite.php +++ b/Zotlabs/Module/Invite.php @@ -43,6 +43,19 @@ class Invite extends Controller { const MYP = 'ZAI'; const VERSION = '2.0.0'; + function init() { + + if (!local_channel()) { + return; + } + + $channel = App::get_channel(); + if ($channel) { + profile_load($channel['channel_address']); + } + + } + function post() { // zai02 |