use of com.waz.zclient.controllers.tracking.events.connect.UnblockingEvent in project wire-android by wireapp.
the class BlockedUserProfileFragment method unblockUser.
private void unblockUser(User user) {
goToConversationWithUser = true;
((BaseScalaActivity) getActivity()).injectJava(GlobalTrackingController.class).tagEvent(new UnblockingEvent());
IConversation conversation = getStoreFactory().getConnectStore().unblockUser(user);
if (conversation != null) {
// Note! important to pass conversation returned by unblockUser() instead of user.getConversation()
getContainer().onUnblockedUser(conversation);
}
}
Aggregations