v1.3.1-beta/patch pause on send
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "watch-party-crx",
|
"name": "watch-party-crx",
|
||||||
"version": "1.3.0",
|
"version": "1.3.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@giphy/js-fetch-api": "^1.5.8",
|
"@giphy/js-fetch-api": "^1.5.8",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Watch Party",
|
"name": "Watch Party",
|
||||||
"short_name": "WP",
|
"short_name": "WP",
|
||||||
"version": "1.3.0",
|
"version": "1.3.1",
|
||||||
"description": "Watch streamed content together.",
|
"description": "Watch streamed content together.",
|
||||||
"background": {
|
"background": {
|
||||||
"page": "popup.html"
|
"page": "popup.html"
|
||||||
|
|||||||
+2
-1
@@ -111,7 +111,8 @@ export default class Chat extends Component {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.setState(response);
|
this.setState(response);
|
||||||
if (response.player) this.mVideoListener.doUpdate(response.player);
|
if (response.player && this.state.player !== response.player)
|
||||||
|
this.mVideoListener.doUpdate(response.player);
|
||||||
const pcc = document.querySelector('.thread-container');
|
const pcc = document.querySelector('.thread-container');
|
||||||
if (pcc) pcc.scrollTop = pcc.scrollHeight;
|
if (pcc) pcc.scrollTop = pcc.scrollHeight;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { PLAYER_STATUS, getPlayerSource, PLAYER_SOURCE } from './Api';
|
import { PLAYER_STATUS, getPlayerSource, PLAYER_SOURCE, LocalData } from './Api';
|
||||||
|
|
||||||
const templateListener = (video) => console.log('MISSING VIDEO LISTENER');
|
const templateListener = (video) => console.log('MISSING VIDEO LISTENER');
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ export default class VideoListener {
|
|||||||
if (
|
if (
|
||||||
this.isUpdating === false &&
|
this.isUpdating === false &&
|
||||||
serverPlayer.showName === this.video.showName &&
|
serverPlayer.showName === this.video.showName &&
|
||||||
serverPlayer.updatedBy !== window.localStorage.getItem('watchPartyUserUid')
|
serverPlayer.updatedBy !== LocalData().userUid
|
||||||
) {
|
) {
|
||||||
this.isUpdating = true;
|
this.isUpdating = true;
|
||||||
if (this.video.element) {
|
if (this.video.element) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "watch-party-api",
|
"name": "watch-party-api",
|
||||||
"version": "1.3.0",
|
"version": "1.3.1",
|
||||||
"description": "Cloud Functions for Watch Party",
|
"description": "Cloud Functions for Watch Party",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "watch-party",
|
"name": "watch-party",
|
||||||
"version": "1.3.0",
|
"version": "1.3.1",
|
||||||
"description": "Watch Party",
|
"description": "Watch Party",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "firebase emulators:start",
|
"start": "firebase emulators:start",
|
||||||
|
|||||||
Reference in New Issue
Block a user