Treat sessions that are there when we log in as old

Use the bulk 'review' toast for sessions that existed at the time
of login, rather than considering them all to be new.

Also cheeky unrelated proptypes fix.

Fixes https://github.com/vector-im/riot-web/issues/13443
Requires https://github.com/matrix-org/matrix-js-sdk/pull/1360
This commit is contained in:
David Baker 2020-04-29 17:16:04 +01:00
parent de9c8b0537
commit 19170945b1
2 changed files with 11 additions and 4 deletions

View file

@ -27,7 +27,7 @@ import { replaceableComponent } from '../../../utils/replaceableComponent';
@replaceableComponent("views.toasts.UnverifiedSessionToast")
export default class UnverifiedSessionToast extends React.PureComponent {
static propTypes = {
deviceId: PropTypes.object,
deviceId: PropTypes.string,
}
_onLaterClick = () => {