]> git.mxchange.org Git - friendica.git/commitdiff
Store the follow activity in the "item-activity" table
authorMichael <heluecht@pirati.ca>
Wed, 27 Mar 2019 21:46:32 +0000 (21:46 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 27 Mar 2019 21:46:32 +0000 (21:46 +0000)
src/Model/Item.php

index 4808b2d03561f61996104d54a801a0be9b6bd3d8..68bbdfd8f22b06428c5130ec0514357423058c41 100644 (file)
@@ -92,7 +92,7 @@ class Item extends BaseObject
 
        // Never reorder or remove entries from this list. Just add new ones at the end, if needed.
        // The item-activity table only stores the index and needs this array to know the matching activity.
-       const ACTIVITIES = [ACTIVITY_LIKE, ACTIVITY_DISLIKE, ACTIVITY_ATTEND, ACTIVITY_ATTENDNO, ACTIVITY_ATTENDMAYBE];
+       const ACTIVITIES = [ACTIVITY_LIKE, ACTIVITY_DISLIKE, ACTIVITY_ATTEND, ACTIVITY_ATTENDNO, ACTIVITY_ATTENDMAYBE, ACTIVITY_FOLLOW];
 
        private static $legacy_mode = null;