aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Invite.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-30 09:18:57 +0000
committerMario <mario@mariovavti.com>2022-11-30 09:18:57 +0000
commit3ce1373ae0e5355b9d10eab5f5b8078245c4b8b6 (patch)
treebafa58c544681691d10e1878b9438d134bd4ee26 /Zotlabs/Module/Invite.php
parent4002531b9296f764c20da2f50ff1bb5feef6dccb (diff)
downloadvolse-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.php13
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