mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 23:56:56 +00:00
Fix crash when IMAP client connects while account is logging in
This commit is contained in:
@ -58,6 +58,7 @@ Changelog [format](http://keepachangelog.com/en/1.0.0/)
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
* GODT-770 Better handling of extraneous end-of-mail indicator.
|
* GODT-770 Better handling of extraneous end-of-mail indicator.
|
||||||
|
* GODT-776 Fix crash when IMAP client connects while account is logging in.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
* Bump crypto version to v0.0.0-20200818122824-ed5d25e28db8
|
* Bump crypto version to v0.0.0-20200818122824-ed5d25e28db8
|
||||||
|
|||||||
@ -76,5 +76,9 @@ func newBridgeUserWrap(bridgeUser *users.User) *bridgeUserWrap {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (u *bridgeUserWrap) GetStore() storeUserProvider {
|
func (u *bridgeUserWrap) GetStore() storeUserProvider {
|
||||||
return newStoreUserWrap(u.User.GetStore())
|
store := u.User.GetStore()
|
||||||
|
if store == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return newStoreUserWrap(store)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user