"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/deltachat/login.ts" between
deltachat-desktop-1.3.3.tar.gz and deltachat-desktop-1.3.4.tar.gz

About: Delta Chat is a messanger for Desktop (Linux), IOS and Android that allows chatting over e-mail (it’s a little bit like Telegram or Whatsapp but without tracking or central control).

login.ts  (deltachat-desktop-1.3.3):login.ts  (deltachat-desktop-1.3.4)
skipping to change at line 52 skipping to change at line 52
) { ) {
// Creates a separate DB file for each login // Creates a separate DB file for each login
this._controller.accountDir = accountDir this._controller.accountDir = accountDir
log.info(`Using deltachat instance ${this._controller.accountDir}`) log.info(`Using deltachat instance ${this._controller.accountDir}`)
const dc = new DeltaChat() const dc = new DeltaChat()
this._controller._dc = dc this._controller._dc = dc
this._controller.credentials = credentials this._controller.credentials = credentials
this._controller._sendStateToRenderer = sendStateToRenderer this._controller._sendStateToRenderer = sendStateToRenderer
if (!DeltaChat.maybeValidAddr(credentials.addr)) { if (!DeltaChat.maybeValidAddr(credentials.addr)) {
this._controller.emit( this._controller.sendToRenderer(
'error', 'error',
this._controller.translate('bad_email_address') this._controller.translate('bad_email_address')
) )
return return
} }
this._dc.open(this._controller.accountDir, (err: any) => { this._dc.open(this._controller.accountDir, (err: any) => {
if (err) throw err if (err) throw err
this.setCoreStrings(coreStrings) this.setCoreStrings(coreStrings)
const onReady = () => { const onReady = () => {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)