Skip to content

Commit

Permalink
7TV Emotes 1.4.28
Browse files Browse the repository at this point in the history
* Fixed: Update socket URL to include the new inline addon version
  • Loading branch information
Lordmau5 committed Oct 27, 2024
1 parent 342f603 commit 982bb3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/7tv-emotes/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main",
"clips"
],
"version": "1.4.27",
"version": "1.4.28",
"short_name": "7TV",
"name": "7TV Emotes",
"author": "Melonify",
Expand All @@ -14,5 +14,5 @@
"website": "https://7tv.app",
"settings": "add_ons.7tv_emotes",
"created": "2021-07-12T23:18:04.000Z",
"updated": "2024-10-27T17:23:00.620Z"
"updated": "2024-10-27T20:48:45.095Z"
}
3 changes: 1 addition & 2 deletions src/7tv-emotes/modules/socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,7 @@ export default class Socket extends FrankerFaceZ.utilities.module.Module {
this.log.info('Socket: Connecting to socket server...');
}

const addon_version = this.parent.manifest.version;
this.socket = new WebSocket(`wss://events.7tv.io/v3?app=ffz&version=${addon_version}`);
this.socket = new WebSocket(`wss://events.7tv.io/v3?app=ffz&version=${__addon_version__}`);

this.socket.onopen = () => {
if (!is_planned_reconnect) {
Expand Down

0 comments on commit 982bb3f

Please sign in to comment.