Repository navigation
Issue with the subathon filter on the nightly version ? #7179
|
Hey guys ! I'm having a small issue with the subathon filter found in the docs : https://wiki.chatterino.com/Filters/#subathon But yesterday, when I tried testing the nightly version with the same filter, I noticed that when a viewer sends multiple gifts, they no longer show up Why isn't it working anymore ? Can you help me, please ? |
Replies: 2 comments 1 reply
|
Hi, thanks for the report. Could you please post some messages that should match the filter? Preferably, shift+right-click the message and select "Copy message JSON" and paste it here in a respond. |
|
Oh ! I didn't know you could copy things in JSON format, thanks! I've only been able to do it with 2 messages for now. {
"channelName": "",
"count": 1,
"displayName": "",
"elements": [
{
"element": {
"color": "System",
"flags": "Timestamp",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"23:51"
]
},
"flags": "Timestamp",
"format": "h:mm",
"link": {
"type": "None",
"value": ""
},
"time": "23:51:46",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "#ffff4500",
"fallbackColor": "System",
"flags": "Text|Mention",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "MentionElement",
"userColor": "#ffff4500",
"userLoginName": "mmonster",
"words": [
"mmonster"
]
},
{
"color": "System",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"is",
"gifting",
"5",
"Tier",
"1",
"Subs",
"to",
"MELs's",
"community!",
"They've",
"gifted",
"a",
"total",
"of",
"319",
"in",
"the",
"channel!"
]
}
],
"externalBadges": [],
"flags": "System|DoNotTriggerNotification|UncategorizedNotification",
"frozen": true,
"id": "",
"localizedName": "",
"loginName": "",
"messageText": "mmonster is gifting 5 Tier 1 Subs to MELs's community! They've gifted a total of 319 in the channel!",
"parseTime": "23:51:46",
"searchText": "mmonster is gifting 5 Tier 1 Subs to MELs's community! They've gifted a total of 319 in the channel!",
"serverReceivedTime": "",
"timeoutUser": "",
"twitchBadgeInfos": {},
"twitchBadges": [],
"userID": "",
"usernameColor": "#ff000000"
}{
"channelName": "",
"count": 1,
"displayName": "",
"elements": [
{
"element": {
"color": "System",
"flags": "Timestamp",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"0:18"
]
},
"flags": "Timestamp",
"format": "h:mm",
"link": {
"type": "None",
"value": ""
},
"time": "00:18:34",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"fallbackColor": "System",
"flags": "Text|Mention",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "MentionElement",
"userColor": "System",
"userLoginName": "boruto",
"words": [
"boruto"
]
},
{
"color": "System",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"is",
"gifting",
"2",
"Tier",
"1",
"Subs",
"to",
"MELs's",
"community!",
"They've",
"gifted",
"a",
"total",
"of",
"2",
"in",
"the",
"channel!"
]
}
],
"externalBadges": [],
"flags": "System|DoNotTriggerNotification|UncategorizedNotification",
"frozen": true,
"id": "",
"localizedName": "",
"loginName": "",
"messageText": "boruto is gifting 2 Tier 1 Subs to MELs's community! They've gifted a total of 2 in the channel!",
"parseTime": "00:18:34",
"searchText": "boruto is gifting 2 Tier 1 Subs to MELs's community! They've gifted a total of 2 in the channel!",
"serverReceivedTime": "",
"timeoutUser": "",
"twitchBadgeInfos": {},
"twitchBadges": [],
"userID": "",
"usernameColor": "#ff000000"
}And here is the result of the same messages in version 2.5.5, which works : {
"badgeInfos": {},
"badges": [],
"channelName": "",
"count": 1,
"displayName": "",
"elements": [
{
"element": {
"color": "System",
"flags": "Timestamp",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"23:51"
]
},
"flags": "Timestamp",
"format": "h:mm",
"link": {
"type": "None",
"value": ""
},
"time": "23:51:46",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"fallbackColor": "System",
"flags": "Text|Mention",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "MentionElement",
"userColor": "System",
"userLoginName": "mmonster",
"words": [
"mmonster"
]
},
{
"color": "System",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"is",
"gifting",
"5",
"Tier",
"1",
"Subs",
"to",
"MELs's",
"community!",
"They've",
"gifted",
"a",
"total",
"of",
"319",
"in",
"the",
"channel!"
]
}
],
"flags": "System|DoNotTriggerNotification|Subscription|RecentMessage",
"frozen": true,
"id": "",
"localizedName": "",
"loginName": "",
"messageText": "mmonster is gifting 5 Tier 1 Subs to MELs's community! They've gifted a total of 319 in the channel!",
"parseTime": "00:38:23",
"searchText": "mmonster is gifting 5 Tier 1 Subs to MELs's community! They've gifted a total of 319 in the channel!",
"serverReceivedTime": "",
"timeoutUser": "",
"userID": "",
"usernameColor": "#ff000000"
}{
"badgeInfos": {},
"badges": [],
"channelName": "",
"count": 1,
"displayName": "",
"elements": [
{
"element": {
"color": "System",
"flags": "Timestamp",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"0:18"
]
},
"flags": "Timestamp",
"format": "h:mm",
"link": {
"type": "None",
"value": ""
},
"time": "00:18:35",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"fallbackColor": "System",
"flags": "Text|Mention",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "MentionElement",
"userColor": "System",
"userLoginName": "boruto",
"words": [
"boruto"
]
},
{
"color": "System",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"is",
"gifting",
"2",
"Tier",
"1",
"Subs",
"to",
"MELs's",
"community!",
"They've",
"gifted",
"a",
"total",
"of",
"2",
"in",
"the",
"channel!"
]
}
],
"flags": "System|DoNotTriggerNotification|Subscription|RecentMessage",
"frozen": true,
"id": "",
"localizedName": "",
"loginName": "",
"messageText": "boruto is gifting 2 Tier 1 Subs to MELs's community! They've gifted a total of 2 in the channel!",
"parseTime": "00:38:23",
"searchText": "boruto is gifting 2 Tier 1 Subs to MELs's community! They've gifted a total of 2 in the channel!",
"serverReceivedTime": "",
"timeoutUser": "",
"userID": "",
"usernameColor": "#ff000000"
}Could it be because the messages no longer have "Subscription" in the flags ? |
Yes, that seems to be the problem. I found that these messages have a
submysterygiftmsg-id, which we currently don't categorize as subscription.#7181 addresses this.