This commit is contained in:
syuilo
2017-08-28 23:47:43 +09:00
parent f546edb810
commit ffaec0b971
14 changed files with 137 additions and 33 deletions

View File

@@ -1,6 +1,7 @@
'use strict';
import Stream from './stream';
import signout from './signout';
/**
* Home stream connection
@@ -12,6 +13,11 @@ class Connection extends Stream {
});
this.on('i_updated', me.update);
this.on('my_token_regenerated', () => {
alert('%i18n:common.my-token-regenerated%');
signout();
});
}
}