v1.7.0/release
-api
This commit is contained in:
@@ -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!' });
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user