mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
🎨 S3/WebDAV data sync and backup are available for a fee https://github.com/siyuan-note/siyuan/issues/8780
This commit is contained in:
parent
b296771340
commit
876e95ef27
1 changed files with 8 additions and 3 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue