commentDispatchHelper = async options => {
  let {
    user,
    post_id,
    comment_id,
    commentExtraDetails,
    when,
    dispatch,
  } = options
  let session = uData('session')
  let username = uData('username')

  if (when == 'viewPost') {
    dispatch(
      comment({
        comment_id,
        comment_by: Number(session),
        comment_by_username: username,
        post_id,
        comment_time: `${new Date().getTime()}`,
        ...commentExtraDetails,
      })
    )
  }

  if (!Me(user)) {
    insta_notify({
      to: user,
      type: 'comment',
      post_id,
    })
  }
}
A helper for dispatching actions related to comments
@param {Object} options