Skip to main content

addCommentLocally method

void addCommentLocally(

  1. [[String] postID]

)

Method to add comment of a user and update comments using updated Post Stream.

params:

  • postID: ID of the post to add comment locally

returns: None

Implementation

void addCommentLocally(String postID) 
  1. talawa
  2. post_service
  3. PostService
  4. addCommentLocally method
PostService class