When subscribing to an EventStream for the emote_set.update
event, I am able to receive events as intended for emotes that are pushed, updated, and pulled. However, specifically on pulled emotes, the value of old_value.timestamp
is wildly incorrect. Examples are shown below.
Given that there's no documentation describing special behavior for pulled emote timestamps, I assume this is in error. Do you have any idea why this might be occurring, or a temporary workaround to obtain the proper timestamp?
Edit to add: I also would have expected there to be a timestamp
value for the pulled update itself as well, but the endpoint doesn't appear to provide one. I think this is a separate—albeit related—issue, though.
Sample pushed
array:
"pushed": [
{
"key": "emotes",
"index": 424,
"type": "object",
"value": {
"actor_id": "omitted",
"data": {
"animated": true,
"flags": 0,
"host": {
"files": [
// Omitted for concision
],
"url": "//cdn.7tv.app/emote/61c4ed2345ea0fdc58f68e8f"
},
"id": "61c4ed2345ea0fdc58f68e8f",
"lifecycle": 3,
"listed": true,
"name": "programming",
"owner": {
// Omitted for concision
},
"state": ["LISTED"],
"tags": [
// Omitted for concision
]
},
"flags": 0,
"id": "61c4ed2345ea0fdc58f68e8f",
"name": "programming",
"timestamp": 1693865677849 // <---- Correct value
}
}
]
Sample pulled
array, for an update executed moments later:
"pulled": [
{
"key": "emotes",
"index": 424,
"type": "object",
"old_value": {
"actor_id": "omitted",
"flags": 0,
"id": "61c4ed2345ea0fdc58f68e8f",
"name": "programming",
"timestamp": -62135596800000 // <---- Incorrect value
},
"value": null
}
]