aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Like.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-07-22 19:07:19 +0000
committerMario <mario@mariovavti.com>2024-07-22 19:07:19 +0000
commit4e35d342269be73a6d6561b8f7587b5edbb50346 (patch)
treef144ecdae8aefebc0e82b43c7d37b6ac82c536a5 /Zotlabs/Module/Like.php
parent3708896a658bb7ae8f61377bc85da0bc898a721e (diff)
downloadvolse-hubzilla-4e35d342269be73a6d6561b8f7587b5edbb50346.tar.gz
volse-hubzilla-4e35d342269be73a6d6561b8f7587b5edbb50346.tar.bz2
volse-hubzilla-4e35d342269be73a6d6561b8f7587b5edbb50346.zip
item buttons redesign - initial checkin
Diffstat (limited to 'Zotlabs/Module/Like.php')
-rw-r--r--Zotlabs/Module/Like.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php
index 4460900a8..d493742e7 100644
--- a/Zotlabs/Module/Like.php
+++ b/Zotlabs/Module/Like.php
@@ -569,6 +569,11 @@ class Like extends Controller {
call_hooks('post_local_end', $arr);
+ if ($is_rsvp && in_array($verb, ['attendyes', 'attendmaybe'])) {
+ event_addtocal($item_id, local_channel());
+ }
+
+
$r = q("select * from item where id = %d",
intval($post_id)
);