Skip to content

Commit

Permalink
fix: 沙箱不能发图片,收chanel消息提示
Browse files Browse the repository at this point in the history
  • Loading branch information
myZhangDong committed Dec 28, 2020
1 parent d4d7b80 commit 4beed1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions demo/src/config/WebIMConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ var config = {
/**
* enable localstorage for history messages. For use in this demo
*/
enableLocalStorage: true,
enableLocalStorage: true

deviceId: 'newDevice'
// deviceId: 'newDevice'
}
export default config
2 changes: 1 addition & 1 deletion demo/src/config/websdk3.4.1.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion demo/src/redux/WebIMRedux.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,8 @@ WebIM.conn.listen({
},
onCustomMessage: msg => {
console.log('onCustomMessage', msg)
}
},
onChannelMessage: msg => console.log('onChannelMessage', msg)
})

/* ------------- Types and Action Creators ------------- */
Expand Down

0 comments on commit 4beed1d

Please sign in to comment.