v1.7.0/release

-api
This commit is contained in:
2020-09-07 15:10:44 -04:00
parent 44ef88fe94
commit d0e82c97f7
-10
View File
@@ -62,15 +62,5 @@ module.exports = async (req, res) => {
err err
); );
}); });
if (bodydata.player.source === 'hbomax.' || bodydata.player.source === 'hbonow.') {
admin.firestore().collection('rooms').doc(bodydata.partyName).collection('messages').add({
uid: '<system>',
name: 'GET UPDATE',
type: 'interactive/link',
endpoint: 'https://get.chromewatchparty.com/',
text: `If <Space> 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!' }); res.status(201).send({ roomId: bodydata.partyName, message: 'Started a party!' });
}; };