Closed jakejakeho closed 3 years ago
Hi, may i know how to configure Batch Activity Add. https://getstream.io/activity-feeds/docs/javascript/add_many_activities/?language=javascript#batch-activity-add
I am trying to make a public feed group which allow people to post there. While they publish to public feed, I also want the feed appear in user own feed. May I know if this library can achieve this?
UPDATES: https://getstream.io/activity-feeds/docs/javascript/targeting/?language=javascript I want to access the TO field. e.g: I post to public:public with to:'user:userId'
I've checked that useStatusUpdateForm.ts in line 442 which did not implement this field
UPDATE 2: i found the way how to do this:
<StatusUpdateForm feedGroup={feedGroup} userId={feedId} modifyActivityData={(activity) => { console.log(activity); activity.to = ['public:public']; return activity; }} />
Hi, may i know how to configure Batch Activity Add. https://getstream.io/activity-feeds/docs/javascript/add_many_activities/?language=javascript#batch-activity-add
I am trying to make a public feed group which allow people to post there. While they publish to public feed, I also want the feed appear in user own feed. May I know if this library can achieve this?
UPDATES: https://getstream.io/activity-feeds/docs/javascript/targeting/?language=javascript I want to access the TO field. e.g: I post to public:public with to:'user:userId'
I've checked that useStatusUpdateForm.ts in line 442 which did not implement this field
UPDATE 2: i found the way how to do this: