mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 10:06:54 +00:00
4.55.0
* Added: Link Cards. As an option, you can open a preview card when clicking on links in chat. These preview cards function similarly to the existing tool-tip or rich embed options but can provide for enhanced interaction (e.g. an embedded video player), with potential for more in the future. * Changed: When using a custom theme with a dark background, use lighter border colors. * Changed: Draw the FFZ Control Center and other dialogs with rounded corners. * Fixed: Issue when clicking certain global Twitch emotes preventing the emote card from appearing correctly. * Fixed: Issue with URL/safety data not being loaded correctly from the link service when the overall result was an error. * Fixed: Issue with link tool-tips still appearing, but with no content, when link tool-tips are disabled. * Fixed: Issue where (re)subscription notices in chat for multiple-month-at-once subscriptions would not be displayed correctly. * Fixed: Tool-tips not displaying correctly in chat pop-outs in some circumstances. * Fixed: Incorrect border styles when the chat is in portrait mode. * Experiment Added: Set up an MQTT-based PubSub system. Let's see how well this scales.
This commit is contained in:
parent
d01f66c6f3
commit
98e5373e9a
36 changed files with 1554 additions and 92 deletions
|
@ -2506,6 +2506,11 @@ export default class ChatHook extends Module {
|
|||
out.gift_theme = e.giftTheme;
|
||||
out.sub_goal = i.getGoalData ? i.getGoalData(e.goalData) : null;
|
||||
out.sub_plan = e.methods;
|
||||
out.sub_multi = e.multiMonthData?.multiMonthDuration ? {
|
||||
count: e.multiMonthData.multiMonthDuration,
|
||||
tenure: e.multiMonthData.multiMonthTenure
|
||||
} : null;
|
||||
|
||||
return i.postMessageToCurrentChannel(e, out);
|
||||
|
||||
} catch(err) {
|
||||
|
@ -2588,6 +2593,10 @@ export default class ChatHook extends Module {
|
|||
out.sub_share_streak = e.shouldShareStreakTenure;
|
||||
out.sub_months = e.months;
|
||||
out.sub_plan = e.methods;
|
||||
out.sub_multi = e.multiMonthData?.multiMonthDuration ? {
|
||||
count: e.multiMonthData.multiMonthDuration,
|
||||
tenure: e.multiMonthData.multiMonthTenure
|
||||
} : null;
|
||||
|
||||
//t.log.info('Resub Event', e, out);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue