// 屏蔽群,相关的通知全部删除 public void onEventMainThread(GroupEvent event) { GroupEntity gEntity = event.getGroupEntity(); if (event.getEvent() == GroupEvent.Event.SHIELD_GROUP_OK) { if (gEntity == null) { return; } cancelSessionNotifications(gEntity.getSessionKey()); } }