mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-06 17:18:34 +00:00
Implement deleted flag GODT-461
This commit is contained in:
@ -162,4 +162,8 @@ func (ctl *Controller) GetMessages(username, labelID string) ([]*pmapi.Message,
|
||||
}
|
||||
|
||||
return messages, nil
|
||||
|
||||
func (ctl *Controller) GetLastMessageID(username string) string {
|
||||
ids := ctl.messageIDsByUsername[username]
|
||||
return ids[len(ids)-1]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user