Skip to content

Commit

Permalink
forward uploaded image
Browse files Browse the repository at this point in the history
  • Loading branch information
trazyn committed Aug 14, 2017
1 parent 4a0a17b commit e0904c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/stores/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ class Chat {
ToUserName: message.to,
ClientMsgId: message.ClientMsgId,
LocalID: message.LocalID,
MediaId: isForward ? '' : message.file.mediaId,
MediaId: message.file.mediaId,
Type: 3,
},
Scene: isForward ? 2 : 0,
Expand Down
2 changes: 1 addition & 1 deletion src/js/utils/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const helper = {
});
},

decodeHTML: (text) => {
decodeHTML: (text = '') => {
return text.replace(/&lt;/g, '<').replace(/&gt;/g, '>').replace(/&amp;/g, '&');
},

Expand Down

0 comments on commit e0904c0

Please sign in to comment.