When user login in app after some days then he will receives offline chat as push notification then while clicking on it ,it is redirecting to recent chat where he can't view it,please redirect to history tab in this case.