Automated IRC messages only updating on page load
I’ve begun building an interactive intermission application for use on Twitch. Yesterday, the application was working fine.
Today I woke up and chat messages sent via IRC are not visible to users in real time.
Any messages sent by my application show up as past messages when a new user enters the chat, but no messages sent will appear in real time – they only update if the user re-enters the chat by reloading or opening the chat in a new window.
For example, if the bot sends a consecutive integer every second. User 1 joins 10 seconds after the bot is activated, they will see a chat history of the bot counting 1…2…3…4… to 10. While in chat, User 1 sees no updates.
User 2 joins five seconds later, they will see the bot having counted to 15 – even though User 1’s chat never updated.
While in the chat, they will see no new digits, even if messages from other human participants are updating. If they reloaded the page later, all the missing messages update as though they had sent in real time.
Feedback from the developer forums (https://discuss.dev.twitch.tv/t/automated-irc-messages-only-updating-on-page-load/31354) told me to post this here.