diff options
author | Mario <mario@mariovavti.com> | 2024-07-22 19:07:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-07-22 19:07:19 +0000 |
commit | 4e35d342269be73a6d6561b8f7587b5edbb50346 (patch) | |
tree | f144ecdae8aefebc0e82b43c7d37b6ac82c536a5 /Zotlabs/Module/Like.php | |
parent | 3708896a658bb7ae8f61377bc85da0bc898a721e (diff) | |
download | volse-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.php | 5 |
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) ); |