Auto-fix lint errors
This commit is contained in:
parent
4c5720a573
commit
ae0a8b8da4
625 changed files with 3170 additions and 3232 deletions
|
@ -58,7 +58,7 @@ export default class ThreepidInviteStore extends EventEmitter {
|
|||
}
|
||||
|
||||
public storeInvite(roomId: string, wireInvite: IThreepidInviteWireFormat): IThreepidInvite {
|
||||
const invite = <IPersistedThreepidInvite>{roomId, ...wireInvite};
|
||||
const invite = <IPersistedThreepidInvite>{ roomId, ...wireInvite };
|
||||
const id = this.generateIdOf(invite);
|
||||
localStorage.setItem(`${STORAGE_PREFIX}${id}`, JSON.stringify(invite));
|
||||
return this.translateInvite(invite);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue