all: Serialize folder types to new names (#4942)

It's been a year and a half since we started accepting the new names.
It's time we start producing them.
This commit is contained in:
Jakob Borg
2018-05-13 09:58:00 +02:00
committed by GitHub
parent ed4807d9a4
commit 20aa53486a
5 changed files with 18 additions and 15 deletions

View File

@@ -16,9 +16,9 @@ const (
func (t FolderType) String() string {
switch t {
case FolderTypeSendReceive:
return "readwrite"
return "sendreceive"
case FolderTypeSendOnly:
return "readonly"
return "sendonly"
default:
return "unknown"
}