Merge pull request #1019 from matrix-org/t3chguy/updating_stuff
manual check for updates
This commit is contained in:
commit
ac3e039e2a
4 changed files with 29 additions and 2 deletions
|
@ -157,6 +157,7 @@ module.exports = React.createClass({
|
|||
newVersion: null,
|
||||
hasNewVersion: false,
|
||||
newVersionReleaseNotes: null,
|
||||
checkingForUpdate: null,
|
||||
|
||||
// Parameters used in the registration dance with the IS
|
||||
register_client_secret: null,
|
||||
|
@ -555,6 +556,9 @@ module.exports = React.createClass({
|
|||
payload.releaseNotes,
|
||||
);
|
||||
break;
|
||||
case 'check_updates':
|
||||
this.setState({ checkingForUpdate: payload.value });
|
||||
break;
|
||||
case 'send_event':
|
||||
this.onSendEvent(payload.room_id, payload.event);
|
||||
break;
|
||||
|
@ -1300,6 +1304,7 @@ module.exports = React.createClass({
|
|||
newVersion: latest,
|
||||
hasNewVersion: current !== latest,
|
||||
newVersionReleaseNotes: releaseNotes,
|
||||
checkingForUpdate: null,
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue