1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-05 02:28:31 +00:00

4.0.0-rc12.16

* Fixed: Typo in chat code fixes causing message deletion setting to not work correctly.
* Fixed: Remove request causing following directory to crash, until such time as we can figure out why it's happening.
This commit is contained in:
SirStendec 2018-08-27 23:08:44 -04:00
parent cf3de0d238
commit 380037d64c
5 changed files with 6 additions and 17 deletions

View file

@ -100,7 +100,7 @@ class FrankerFaceZ extends Module {
FrankerFaceZ.Logger = Logger; FrankerFaceZ.Logger = Logger;
const VER = FrankerFaceZ.version_info = { const VER = FrankerFaceZ.version_info = {
major: 4, minor: 0, revision: 0, extra: '-rc12.15', major: 4, minor: 0, revision: 0, extra: '-rc12.16',
commit: __git_commit__, commit: __git_commit__,
build: __webpack_hash__, build: __webpack_hash__,
toString: () => toString: () =>

View file

@ -781,7 +781,8 @@ export default class EmoteMenu extends Module {
observeSoon() { observeSoon() {
requestAnimationFrame(() => { requestAnimationFrame(() => {
this.handleObserve(this.observer.takeRecords()); if ( this.observer )
this.handleObserve(this.observer.takeRecords());
}); });
} }

View file

@ -603,7 +603,7 @@ export default class ChatHook extends Module {
} else if ( msg.type === types.Moderation ) { } else if ( msg.type === types.Moderation ) {
const login = msg.userLogin; const login = msg.userLogin;
if ( this.moderatedUsers.has(login) ) if ( inst.moderatedUsers.has(login) )
return; return;
const do_remove = t.chat.context.get('chat.filtering.remove-deleted') === 3, const do_remove = t.chat.context.get('chat.filtering.remove-deleted') === 3,
@ -644,11 +644,12 @@ export default class ChatHook extends Module {
} }
} catch(err) { } catch(err) {
t.log.error('Error processing chat event.', err);
t.log.capture(err, {extra: {msg}}); t.log.capture(err, {extra: {msg}});
} }
} }
return old_handle.call(this, msg); return old_handle.call(inst, msg);
} }
inst.getMessages = function() { inst.getMessages = function() {

View file

@ -4,7 +4,6 @@ query {
nodes { nodes {
profileImageURL(width: 50) profileImageURL(width: 50)
hosting { hosting {
profileImageURL(width: 50)
stream { stream {
createdAt createdAt
} }

View file

@ -7,17 +7,5 @@ query {
} }
} }
} }
followedHosts {
nodes {
profileImageURL(width: 50)
hosting {
profileImageURL(width: 50)
stream {
createdAt
type
}
}
}
}
} }
} }