Пример #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);
         });
     }
 }
Пример #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);
     }));
 }
Пример #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);
 }
Пример #6
0
 public void Handle(FriendRemoved message)
 {
     this.EnsureInSyncAsync(true);
 }