1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-05 10:38:30 +00:00

4.0.0-rc20.3

* Fixed: In-Line Chat Actions not working for resubs and other similar messages.
This commit is contained in:
SirStendec 2019-05-08 15:49:43 -04:00
parent a64b3cff45
commit 6dde27ca82
2 changed files with 2 additions and 3 deletions

View file

@ -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: () =>

View file

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