Merge pull request #2730 from liam-fitzgerald/lf/chat-synced-fix

chat-fe: resubscribe message iff chatSynced is populated
This commit is contained in:
ixv 2020-04-14 11:40:45 -07:00 committed by GitHub
commit 5bb9776b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -274,6 +274,7 @@ export class ChatScreen extends Component {
this.scrollElement = el;
}}></div>
{ (
props.chatSynced &&
!(props.station in props.chatSynced) &&
(messages.length > 0)
) ? (

View File

@ -24,7 +24,7 @@ class Store {
initialState() {
return {
inbox: {},
chatSynced: {},
chatSynced: null,
contacts: {},
permissions: {},
invites: {},