mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-18 08:06:59 +00:00
GODT-1433 Adding first integration test for drafts.
This commit is contained in:
@ -73,6 +73,10 @@ func (ctl *Controller) AddUserMessage(username string, message *pmapi.Message) (
|
||||
return result.MessageID, nil
|
||||
}
|
||||
|
||||
func (ctl *Controller) SetDraftBody(username string, messageID string, body string) error {
|
||||
return errors.New("set draft body is not implemented for live")
|
||||
}
|
||||
|
||||
func (ctl *Controller) GetMessages(username, labelID string) ([]*pmapi.Message, error) {
|
||||
client, err := getPersistentClient(username)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user