v1.6.6/release- chat fix- hbo click fix- hbo resize

This commit is contained in:
2020-09-01 22:12:20 -04:00
parent 0d75218c0c
commit 72acbf56f0
14 changed files with 307 additions and 189 deletions
+4 -13
View File
@@ -31,6 +31,7 @@ import {
Paper,
Grid,
Slider,
LinearProgress,
} from '@material-ui/core';
import Thread from './Thread';
import {
@@ -501,18 +502,6 @@ export default class Chat extends Component {
volumes,
} = this.state;
const alerts = [
{
condition: () =>
getPlayerSource() === PLAYER_SOURCE.HBOMAX || getPlayerSource() === PLAYER_SOURCE.HBONOW,
message: 'Functionality may be buggy, HBO has a horrible design.',
},
{
condition: () =>
getPlayerSource() === PLAYER_SOURCE.APPLE ||
getPlayerSource() === PLAYER_SOURCE.FUNIMATION ||
getPlayerSource() === PLAYER_SOURCE.VIKI,
message: 'Functionality may be buggy, support on this site is in testing.',
},
{
condition: () => adminOnly,
message: 'Party is currently in admin only mode.',
@@ -783,10 +772,12 @@ export default class Chat extends Component {
} else return null;
})}
</div>
<Thread setReplyTo={this.setReplyTo} sentMessages={messages} />
<Thread
isSending={true}
setReplyTo={this.setReplyTo}
sendingMessages={sendingMessages}
sentMessages={messages}
sendingMessages={sendingMessages}
/>
<Paper
square