Skip to content

Commit

Permalink
Merge pull request #147 from wicked-tc130/dev
Browse files Browse the repository at this point in the history
 ios-新增已读消息回执功能
  • Loading branch information
wicked-tc130 authored Mar 22, 2019
2 parents fbe2867 + 30079cf commit 477dff1
Show file tree
Hide file tree
Showing 6 changed files with 2,660 additions and 2,599 deletions.
2 changes: 1 addition & 1 deletion example/app/routes/Chat/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export default class Chat extends Component {
id: message.id,
}

JMessage.setMsgHaveRead(readParams,(successCallback) => {},(failCallback) => {})
JMessage.setMsgHaveRead(readParams,(result) => {},(error) => {})

if (this.conversation.type === 'single') {
if (message.target.type === 'user') {
Expand Down
1 change: 1 addition & 0 deletions ios/RCTJMessageModule/JMessageHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#import <JMessage/JMessage.h>

#define kJJMessageReceiveMessage @"kJJMessageReceiveMessage"
#define kJJMessageReceiptMessage @"kJJMessageReceiptMessage"
#define kJJMessageReceiveChatRoomMessage @"kJJMessageReceiveChatRoomMessage"
#define kJJMessageSendMessageRespone @"kJJMessageSendMessageRespone"

Expand Down
Loading

0 comments on commit 477dff1

Please sign in to comment.