fix getReplyId

matrix-chat-native
adb 4 years ago
parent d66f2c990e
commit 8dd34b58ee

@ -33,7 +33,8 @@ export default {
},
getReplyId(content){
if(!content['m.relates_to']) return undefined;
return content['m.relates_to']['m.in_reply_to'].event_id || undefined;
if(!content['m.relates_to']['m.in_reply_to']) return undefined;
return content['m.relates_to']['m.in_reply_to'].event_id;
},
calcUserName,
parseMessage

Loading…
Cancel
Save