forked from Silverfish/proton-bridge
GODT-2266: Pause event stream while sending
This commit is contained in:
@ -158,7 +158,7 @@ func (user *User) sendMail(authID string, from string, to []string, r io.Reader)
|
||||
|
||||
return nil
|
||||
})
|
||||
}, user.apiUserLock, user.apiAddrsLock)
|
||||
}, user.apiUserLock, user.apiAddrsLock, user.eventLock)
|
||||
}
|
||||
|
||||
// sendWithKey sends the message with the given address key.
|
||||
|
||||
Reference in New Issue
Block a user