Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Commit

Permalink
2.2.6 Bug fix (metadata)
Browse files Browse the repository at this point in the history
- fixes join metadata
  • Loading branch information
theusaf committed Jan 14, 2021
1 parent 22bf1f4 commit c3d9b55
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h2><a href="index.html">Home</a></h2>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Mon Jan 11 2021 08:56:43 GMT-0800 (Pacific Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Jan 14 2021 09:26:46 GMT-0800 (Pacific Standard Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kahoot.js-updated",
"version": "2.2.5",
"version": "2.2.6",
"description": "Answer, Join Kahoot Quizzes with nodejs",
"main": "index.js",
"scripts": {
Expand Down
10 changes: 6 additions & 4 deletions src/assets/LiveJoinPacket.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ module.exports = class LiveJoinPacket extends LiveBaseMessage{
name: name || ["Johan Brand","Morten Versvik","Jamie Brooker"][Math.floor(Math.random()*3)],
type: "login",
content: JSON.stringify({
userAgent: client.userAgent,
screen: {
width: 1920,
height: 1080
device: {
userAgent: client.userAgent,
screen: {
width: 1920,
height: 1080
}
}
})
});
Expand Down

0 comments on commit c3d9b55

Please sign in to comment.