feat: sync iOS compatibility support
This commit is contained in:
parent
1f646ef024
commit
50803a604c
32 changed files with 871 additions and 78 deletions
14
internal/compat/ios/minimal.go
Normal file
14
internal/compat/ios/minimal.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package ios
|
||||
|
||||
import "github.com/gotd/td/tg"
|
||||
|
||||
// NoAppUpdate is the bounded answer used until telesrv has an application
|
||||
// release catalog. It makes iOS keep its installed build and retry on its
|
||||
// normal schedule instead of retrying a failed RPC.
|
||||
func NoAppUpdate() tg.HelpAppUpdateClass {
|
||||
return &tg.HelpNoAppUpdate{}
|
||||
}
|
||||
|
||||
// DeviceLockedUpdated acknowledges the client-side autolock report. telesrv
|
||||
// currently has no push-notification privacy state to persist from this hint.
|
||||
func DeviceLockedUpdated() bool { return true }
|
||||
Loading…
Add table
Add a link
Reference in a new issue