public MR_posts_getSingle Posts_GetSingle(string post_id) { if (!IsNetworkAvailable) { return(null); } MR_posts_getSingle _ret = null; try { _ret = m_service.posts_getSingle(SessionToken, m_rt.CurrentGroupID, post_id); } catch (Station401Exception _e) { Main.Current.Station401ExceptionHandler(_e.Message); } if (_ret != null) { if (_ret.status == "200") { return(_ret); } } return(null); }
public void AfterPostComment(string post_id) { MR_posts_getSingle _singlePost = RT.REST.Posts_GetSingle(post_id); if ((_singlePost != null) && (_singlePost.post != null)) { ReplacePostInList(_singlePost.post, RT.CurrentGroupPosts); //ReplacePostInList(_singlePost.post, RT.FilterPosts); s_logger.Trace("AfterPostComment.ShowAllTimeline(true)"); ShowAllTimeline(ShowTimelineIndexType.LocalLastRead); } }