Skip to content

Commit e79304b

Browse files
committed
fix
1 parent c568844 commit e79304b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/netease/im/session/SessionService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public void onIncomingMessage(@NonNull List<IMMessage> messages) {
154154

155155
boolean showMsg(IMMessage m) {
156156
return !(m.getMsgType() == MsgTypeEnum.notification || m.getMsgType() == MsgTypeEnum.tip
157-
|| (m.getAttachment() != null && (m.getAttachment() instanceof RedPacketOpenAttachement);
157+
|| (m.getAttachment() != null && (m.getAttachment() instanceof RedPacketOpenAttachement)));
158158
}
159159

160160
public boolean isMyMessage(IMMessage message) {

0 commit comments

Comments
 (0)