|
@@ -1014,7 +1014,7 @@ public class RoomInfoActivity extends BaseActivity {
|
|
|
public void removeBlacklist(final Friend sortFriend) {
|
|
public void removeBlacklist(final Friend sortFriend) {
|
|
|
FriendDao.getInstance().updateFriendStatus(mLoginUserId, sortFriend.getUserId(), Friend.STATUS_FRIEND);
|
|
FriendDao.getInstance().updateFriendStatus(mLoginUserId, sortFriend.getUserId(), Friend.STATUS_FRIEND);
|
|
|
int s = FriendDao.getInstance().getFriendStatus(mLoginUserId, sortFriend.getUserId());
|
|
int s = FriendDao.getInstance().getFriendStatus(mLoginUserId, sortFriend.getUserId());
|
|
|
- ViewUtil.ToastMessage(this, "取消群消息成功!");
|
|
|
|
|
|
|
+// ViewUtil.ToastMessage(this, "取消群消息成功!");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -1023,7 +1023,7 @@ public class RoomInfoActivity extends BaseActivity {
|
|
|
private void addBlacklist(final Friend sortFriend) {
|
|
private void addBlacklist(final Friend sortFriend) {
|
|
|
FriendDao.getInstance().updateFriendStatus(mLoginUserId, sortFriend.getUserId(), Friend.STATUS_BLACKLIST);
|
|
FriendDao.getInstance().updateFriendStatus(mLoginUserId, sortFriend.getUserId(), Friend.STATUS_BLACKLIST);
|
|
|
int s = FriendDao.getInstance().getFriendStatus(mLoginUserId, sortFriend.getUserId());
|
|
int s = FriendDao.getInstance().getFriendStatus(mLoginUserId, sortFriend.getUserId());
|
|
|
- ViewUtil.ToastMessage(this, "屏蔽群消息成功!");
|
|
|
|
|
|
|
+// ViewUtil.ToastMessage(this, "屏蔽群消息成功!");
|
|
|
// HashMap<String, String> params = new HashMap<String, String>();
|
|
// HashMap<String, String> params = new HashMap<String, String>();
|
|
|
// params.put("access_token", MyApplication.getInstance().mAccessToken);
|
|
// params.put("access_token", MyApplication.getInstance().mAccessToken);
|
|
|
// params.put("toUserId", sortFriend.getUserId());
|
|
// params.put("toUserId", sortFriend.getUserId());
|