diff --git a/src/main.js b/src/main.js index ac35dadf..d0975a6e 100644 --- a/src/main.js +++ b/src/main.js @@ -149,7 +149,7 @@ ${typeof x[1] === 'string' ? x[1] : JSON.stringify(x[1], null, 4)}` FrankerFaceZ.Logger = Logger; const VER = FrankerFaceZ.version_info = { - major: 4, minor: 0, revision: 0, extra: '-rc20.2', + major: 4, minor: 0, revision: 0, extra: '-rc20.3', commit: __git_commit__, build: __webpack_hash__, toString: () => diff --git a/src/modules/chat/actions/index.jsx b/src/modules/chat/actions/index.jsx index 719b9c59..72b79c25 100644 --- a/src/modules/chat/actions/index.jsx +++ b/src/modules/chat/actions/index.jsx @@ -507,8 +507,7 @@ export default class Actions extends Module { if ( pds ) { if ( pds.source === 'line' ) { const fine = this.resolve('site.fine'), - react = fine && fine.getParent(parent.parentElement), - line = react && react.stateNode; + line = fine && fine.searchParent(parent, n => n.props && n.props.message); if ( line && line.props && line.props.message ) { loaded = true;