| 887 | } |
| 888 | |
| 889 | void Updates::mtpUpdateReceived(const MTPUpdates &updates) { |
| 890 | Core::App().checkAutoLock(); |
| 891 | _lastUpdateTime = crl::now(); |
| 892 | _noUpdatesTimer.callOnce(kNoUpdatesTimeout); |
| 893 | if (!requestingDifference() |
| 894 | || HasForceLogoutNotification(updates)) { |
| 895 | applyUpdates(updates); |
| 896 | } else { |
| 897 | applyGroupCallParticipantUpdates(updates); |
| 898 | } |
| 899 | } |
| 900 | |
| 901 | void Updates::applyConvertToScheduledOnSend( |
| 902 | const MTPVector<MTPUpdate> &other, |
nothing calls this directly
no test coverage detected