openimsdk/open-im-sdk-ios

onRecvNewMessage assignment missing in OIMCallbacker+Closure

sapherise opened this issue · 1 comments

- (void)setAdvancedMsgListenerWithOnRecvMessageRevoked:(OIMStringCallback)onRecvMessageRevoked onRecvC2CReadReceipt:(OIMReceiptCallback)onRecvC2CReadReceipt onRecvGroupReadReceipt:(OIMReceiptCallback)onRecvGroupReadReceipt onRecvNewMessage:(OIMMessageInfoCallback)onRecvNewMessage { self.onRecvMessageRevoked = onRecvMessageRevoked; self.onRecvC2CReadReceipt = onRecvC2CReadReceipt; self.onRecvGroupReadReceipt = onRecvGroupReadReceipt; }

应添加

self.onRecvNewMessage = onRecvNewMessage;

std-s commented

thx. 更新2.3.5.3。