|
@@ -331,7 +331,7 @@ public class FaceApi {
|
|
|
User item = iterator.next();
|
|
|
if (item != null &&
|
|
|
item.getUserId() != null &&
|
|
|
- item.getUserId().indexOf(userId) != -1) {
|
|
|
+ item.getUserId().equals(userId) ) {
|
|
|
iterator.remove();
|
|
|
}
|
|
|
}
|
|
@@ -365,7 +365,7 @@ public class FaceApi {
|
|
|
User item = iterator.next();
|
|
|
if (item != null &&
|
|
|
item.getUserId() != null &&
|
|
|
- item.getUserId().indexOf(userId) != -1) {
|
|
|
+ item.getUserId().equals(userId)) {
|
|
|
FaceSDKManager.getInstance().delPush(item);
|
|
|
iterator.remove();
|
|
|
}
|