🎨 S3/WebDAV data sync and backup are available for a fee https://github.com/siyuan-note/siyuan/issues/8780

This commit is contained in:
Daniel 2024-01-01 16:34:58 +08:00
parent b296771340
commit 876e95ef27
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -780,12 +780,17 @@ func IsSubscriber() bool {
}
func IsPaidUser() bool {
// S3/WebDAV data sync and backup are available for a fee https://github.com/siyuan-note/siyuan/issues/8780
if IsSubscriber() {
return true
}
return nil != Conf.GetUser() // Sign in to use S3/WebDAV data sync https://github.com/siyuan-note/siyuan/issues/8779
// TODO S3/WebDAV data sync and backup are available for a fee https://github.com/siyuan-note/siyuan/issues/8780
// return nil != Conf.User && 1 == Conf.User.UserSiYuanOneTimePayStatus
u := Conf.GetUser()
if nil == u {
return false
}
return 1 == u.UserSiYuanOneTimePayStatus
}
const (