aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-05-02 20:32:26 -0700
committerzotlabs <mike@macgirvin.com>2019-05-02 20:32:26 -0700
commit347e88dc65b1240dc6d1690570531dc3015a4452 (patch)
tree34923f613a1dd8501c63a227c9d9476159818123 /Zotlabs/Lib
parent9a55df245f4829900a3265fbb1cac56779e2b06e (diff)
downloadvolse-hubzilla-347e88dc65b1240dc6d1690570531dc3015a4452.tar.gz
volse-hubzilla-347e88dc65b1240dc6d1690570531dc3015a4452.tar.bz2
volse-hubzilla-347e88dc65b1240dc6d1690570531dc3015a4452.zip
move apschema to core to use for emojiReaction mapping for zot6
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Activity.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 9df7db169..83c8790df 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -710,7 +710,7 @@ class Activity {
// Reactions will just map to normal activities
if(strpos($verb,ACTIVITY_REACT) !== false)
- return 'Create';
+ return 'emojiReaction';
if(strpos($verb,ACTIVITY_MOOD) !== false)
return 'Create';
@@ -1486,7 +1486,7 @@ class Activity {
}
- if(in_array($act->type, [ 'Like', 'Dislike', 'Flag', 'Block', 'Announce', 'Accept', 'Reject', 'TentativeAccept' ])) {
+ if(in_array($act->type, [ 'Like', 'Dislike', 'Flag', 'Block', 'Announce', 'Accept', 'Reject', 'TentativeAccept', 'emojiReaction' ])) {
$response_activity = true;