From d0e82c97f75ce25b790853d252569801123c86e8 Mon Sep 17 00:00:00 2001 From: Ayushya Amitabh Date: Mon, 7 Sep 2020 15:10:44 -0400 Subject: [PATCH] v1.7.0/release -api --- functions/modules/createRoom.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/functions/modules/createRoom.js b/functions/modules/createRoom.js index 7b3e010..2a9b22c 100644 --- a/functions/modules/createRoom.js +++ b/functions/modules/createRoom.js @@ -62,15 +62,5 @@ module.exports = async (req, res) => { err ); }); - if (bodydata.player.source === 'hbomax.' || bodydata.player.source === 'hbonow.') { - admin.firestore().collection('rooms').doc(bodydata.partyName).collection('messages').add({ - uid: '', - name: 'GET UPDATE', - type: 'interactive/link', - endpoint: 'https://get.chromewatchparty.com/', - text: `If is accidentally toggling pause/play on HBO Now / Max. Make sure you're on the latest version - try removing and re-adding if an update option is not visible.`, - time: new Date(), - }); - } res.status(201).send({ roomId: bodydata.partyName, message: 'Started a party!' }); };