rpc: add android startup and messaging compat
(cherry picked from commit d718593156cc7310105007f37645948c17637e0a)
This commit is contained in:
parent
fc01346160
commit
b4e47c894f
11 changed files with 184 additions and 2 deletions
|
|
@ -21,6 +21,12 @@ func (r *Router) dispatchCompat(ctx context.Context, b *bin.Buffer, id uint32) (
|
|||
)
|
||||
|
||||
switch id {
|
||||
case legacyAccountRegisterDeviceTypeID:
|
||||
name = "account.registerDevice#637ea878"
|
||||
enc, err = r.handleLegacyAccountRegisterDevice(ctx, b)
|
||||
case legacyUpdatesGetDifferenceTypeID:
|
||||
name = "updates.getDifference#25939651"
|
||||
enc, err = r.handleLegacyUpdatesGetDifference(ctx, b)
|
||||
case legacyLangpackGetLangPackTypeID:
|
||||
name = "langpack.getLangPack#9ab5c58e"
|
||||
enc, err = r.handleLegacyLangpackGetLangPack(ctx, b)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue