diff --git a/src/Chat.js b/src/Chat.js index b1151c8..e5c8d35 100644 --- a/src/Chat.js +++ b/src/Chat.js @@ -186,7 +186,7 @@ export default class Chat extends Component { } gifClick(iGif, ev) { ev.preventDefault(); - this.sendMessageInvoker(iGif); + this.sendMessageInvoker(iGif.images.original.url); } getCarousel() { const trendingFetch = (offset) => giphyFetch.trending({ offset, limit: 5 }); diff --git a/src/VideoListener.js b/src/VideoListener.js index 64ff706..8713008 100644 --- a/src/VideoListener.js +++ b/src/VideoListener.js @@ -23,6 +23,12 @@ export default class VideoListener { } updateStatus(newStatus) { this.video = Object.assign({}, this.video, newStatus); + console.log(` + Server Status: ${this.server.status}\n + Video Status: ${this.video.status}\n + Show Name: ${this.video.showName}\n + Updating: ${this.isUpdating} + `); if (this.server.status !== this.video.status) { if (this.video.showName && !this.isUpdating) this.listener(this.video); } @@ -32,6 +38,7 @@ export default class VideoListener { if (!this.isUpdating) { this.isUpdating = true; if (serverPlayer.updatedBy === window.localStorage.getItem('watchPartyUserUid')) { + this.isUpdating = false; return; } else { // SEEK