Skip to content

Commit 073f11b

Browse files
committed
UPDATE: remove extra code
1 parent efc574d commit 073f11b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

android/src/io/jchat/android/JMessageModule.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,9 +1713,6 @@ public void getAllUnreadCount(Callback success) {
17131713
// WritableMap map = Arguments.createMap();
17141714
int count = JMessageClient.getAllUnReadMsgCount();
17151715
// map.putInt("count", count);
1716-
if (count < 0) {
1717-
count = 0;
1718-
}
17191716
success.invoke(count);
17201717
}
17211718

0 commit comments

Comments
 (0)