Esempio n. 1
0
 // Token: 0x06006048 RID: 24648 RVA: 0x0021E874 File Offset: 0x0021CC74
 public void AcceptFriendRequest()
 {
     ModerationManager.Instance.UnmuteUser(this.notification.senderUserId);
     ModerationManager.Instance.UnblockUser(this.notification.senderUserId);
     APIUser.AcceptFriendRequest(this.notification.id, null, delegate(string obj)
     {
         Debug.LogError("Something went wrong accepting friend request");
         this.SetupUserInfo(this.user, PageUserInfo.InfoType.ReceivedFriendRequest, UiUserList.ListType.None);
     });
     PageUserInfo.InfoType infoType = (!(this.user.location == "offline")) ? PageUserInfo.InfoType.OnlineFriend : PageUserInfo.InfoType.OfflineFriend;
     this.SetupUserInfo(this.user, infoType, UiUserList.ListType.None);
 }