v1.4.3/release (clean up criteria, titles, color for self)

This commit is contained in:
2020-07-20 15:53:33 -04:00
parent ff8ded5959
commit d2d258c7a1
4 changed files with 14 additions and 6 deletions
+8 -3
View File
@@ -71,7 +71,6 @@ import Create from './Create';
import { goTo } from 'route-lite';
import CallManager from './CallManager';
import VideoListener from './VideoListener';
import VoxeetSDK from '@voxeet/voxeet-web-sdk';
const giphyFetch = new GiphyFetch('ojJbIMUN6XRMn4mHiFFav3rMCpXUg8sq');
const alerts = [
@@ -354,6 +353,7 @@ export default class Chat extends Component {
rowsMax={2}
variant="outlined"
fullWidth
color="secondary"
InputProps={{
endAdornment: (
<Tooltip title="Share party" aria-label="Share party">
@@ -409,17 +409,22 @@ export default class Chat extends Component {
<Chip className="party-controls-users-chip" clickable size="small" label={user} />
))}
</div>
{VoxeetSDK.conference.participants.size > 0 ? (
{Object.keys(usersOnCall).length > 0 ? (
<Typography className="party-controls-users-title" variant="overline">
MEMBERS IN CALL
</Typography>
) : null}
{VoxeetSDK.conference.participants.size > 0 ? (
{Object.keys(usersOnCall).length > 0 ? (
<div className="party-controls-users-container">
{Object.keys(usersOnCall).map((id) => {
return usersOnCall[id].status === 'Connected' ||
usersOnCall[id].status === 'Connecting' ? (
<Chip
color={
usersOnCall[id].info.externalId === LocalData().userUid
? 'secondary'
: null
}
className="party-controls-users-chip"
clickable
size="small"
+4 -1
View File
@@ -27,7 +27,10 @@ module.exports = async () => {
.get()
.then(async (roomSnap) => {
if (
timeDiff(roomSnap.createTime.toDate(), startedTime) >= 24 ||
// MORE THAN 24 HOURS AND NOT IN USE
(timeDiff(roomSnap.createTime.toDate(), startedTime) >= 24 &&
timeDiff(roomSnap.updateTime.toDate(), startedTime) >= 12) ||
// LESS THAN 24 HOURS BUT NOT IN USE
timeDiff(roomSnap.updateTime.toDate(), startedTime) >= 12
) {
await cleanUpRoom(roomSnap.id);
+1 -1
View File
@@ -37,7 +37,7 @@ HBO Now and HBO Max logos are trademark and intellectual property of WarnerMedia
<link rel="stylesheet" type="text/css" href="../font.css" />
<link rel="stylesheet" type="text/css" href="../styles/index.css" />
<script src="../scripts/Stickied.js"></script>
<title>Watch Party</title>
<title>Watch Party | Copyright</title>
</head>
<body class="copyright">
<div class="landing">
+1 -1
View File
@@ -37,7 +37,7 @@ HBO Now and HBO Max logos are trademark and intellectual property of WarnerMedia
<link rel="stylesheet" type="text/css" href="../font.css" />
<link rel="stylesheet" type="text/css" href="../styles/index.css" />
<script src="../scripts/Stickied.js"></script>
<title>Watch Party</title>
<title>Watch Party | Welcome</title>
</head>
<body class="welcome">
<div class="landing">