feat: sync public links and phone change updates

This commit is contained in:
A 2026-07-10 22:01:44 +08:00
parent 41c7f1d018
commit da04c0fa6a
53 changed files with 3029 additions and 111 deletions

View file

@ -0,0 +1,14 @@
// Package android 收敛 DrKLO Android 官方客户端的兼容决策。
package android
import "strings"
const ValidatePhoneNumberSuggestion = "VALIDATE_PHONE_NUMBER"
// DismissSuggestion 返回 telesrv 对 suggestion dismissal 的有界兼容结果。
// telesrv 当前不向 config/channelFull 发布 pending suggestions因此不存在需要
// 持久化的服务端 suggestion 状态;对已登录客户端的非空 dismissal 做幂等确认,
// 并阻止 DrKLO 对 generic 500 无限重试。
func DismissSuggestion(suggestion string) bool {
return strings.TrimSpace(suggestion) != ""
}