Add support for message history using robotty/recent-messages API#279
Add support for message history using robotty/recent-messages API#279tarunbod wants to merge 5 commits into
Conversation
|
|
||
| const RECENT_MESSAGES_API_URL = 'https://recent-messages.robotty.de/api/v2'; | ||
|
|
||
| export class RecentMessagesProvider { |
There was a problem hiding this comment.
As it stands only actual chat messages are supported. The API also returns messages like sub notifications, but I based this PR on how historical messages are loaded when you're the moderator of a channel. The chat history that mods see on page load doesn't include those kinds of messages, so I didn't bother with adding support for that. But I don't think it would be too difficult to do so.
|
Dosnt twitch have an experiment currently running that enables recent messages for everyone, not just mods? |
|
Yes, I didn't know about this prior to opening this PR. FFZ experiments tab says that it's currently being shown to 5% of users. Do you know how often experiments get released as full features? If it's common then I don't think this PR has much point and I'll probably close it out. |
Description
Implements #230. Adds:
Considerations
https://recent-messages.robotty.de/api