fix getReplyId

This commit is contained in:
adb 2021-04-06 03:33:20 +02:00
parent d66f2c990e
commit 8dd34b58ee

View File

@ -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