mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-04 08:18:34 +00:00
Other(refactor): Remove bridgeWrap from frontend interface
This commit is contained in:
@ -307,11 +307,11 @@ func (f *frontendCLI) watchEvents() {
|
||||
case address := <-addressChangedLogoutCh:
|
||||
f.notifyLogout(address)
|
||||
case userID := <-logoutCh:
|
||||
user, err := f.bridge.GetUser(userID)
|
||||
user, err := f.bridge.GetUserInfo(userID)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
f.notifyLogout(user.Username())
|
||||
f.notifyLogout(user.Username)
|
||||
case <-certIssue:
|
||||
f.notifyCertIssue()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user