Esempio n. 1
0
 public void Handle(FriendRemoved message)
 {
     if (this._user == null || message.UserId != this._user.id)
     {
         return;
     }
     this._user.friend_status = 2;
     this.NotifySubscribeProperties();
 }
 public void Handle(FriendRemoved message)
 {
     if (this._uid == AppGlobalStateManager.Current.LoggedInUserId)
     {
         Execute.ExecuteOnUIThread(delegate
         {
             this._allFriendsVM.LoadData(true, false, null, false);
             this._onlineFriendsVM.LoadData(true, false, null, false);
         });
     }
 }
Esempio n. 3
0
 public void Handle(FriendRemoved message)
 {
     if (this._uid != AppGlobalStateManager.Current.LoggedInUserId)
     {
         return;
     }
     Execute.ExecuteOnUIThread((Action)(() =>
     {
         this._allFriendsVM.LoadData(true, false, null, false);
         this._onlineFriendsVM.LoadData(true, false, null, false);
     }));
 }
Esempio n. 4
0
 public async void Handle(FriendRemoved message)//omg_re async
 {
     await this.EnsureInSyncAsync(true);
 }
 public void Handle(FriendRemoved message)
 {
   this.UpdateUserFriendStatus(message.UserId, 2);
 }
Esempio n. 6
0
 public void Handle(FriendRemoved message)
 {
     this.EnsureInSyncAsync(true);
 }