@@ -23,7 +23,7 @@ Future<void> followsAndUnfollows() async {
2323
2424Future <void > queryFollows () async {
2525 // Do I follow a list of feeds
26- // My feed is timeline:john
26+ // My feed is timeline:john
2727 const followQuery = FollowsQuery (
2828 filter: Filter .and ([
2929 Filter .equal (FollowsFilterField .sourceFeed, 'timeline:john' ),
@@ -34,8 +34,8 @@ Future<void> queryFollows() async {
3434 final page1 = await followList.get ();
3535 final page2 = await followList.queryMoreFollows ();
3636 final page1And2 = followList.state.follows;
37- // Paginating through followers for a feed
38- // My feed is timeline:john
37+ // Paginating through followers for a feed
38+ // My feed is timeline:john
3939 const followerQuery = FollowsQuery (
4040 filter: Filter .equal (FollowsFilterField .targetFeed, 'timeline:john' ),
4141 );
@@ -52,17 +52,17 @@ Future<void> followRequests() async {
5252 final saraFeed = saraClient.feedFromQuery (saraFeedQuery);
5353 await saraFeed.getOrCreate ();
5454
55- // Adam requesting to follow the feed
55+ // Adam requesting to follow the feed
5656 final adamTimeline = adamClient.feed (group: 'timeline' , id: 'adam' );
5757 await adamTimeline.getOrCreate ();
5858 final followRequest =
5959 await adamTimeline.follow (targetFid: saraFeed.fid); // user:sara
6060 print (followRequest.getOrNull ()? .status); // .pending
61- // Sara accepting
61+ // Sara accepting
6262 await saraFeed.acceptFollow (
6363 sourceFid: adamTimeline.fid, // timeline:adam
6464 role: 'feed_member' , // optional
6565 );
66- // or rejecting the request
66+ // or rejecting the request
6767 await saraFeed.rejectFollow (sourceFid: adamTimeline.fid); // timeline:adam
6868}
0 commit comments