| 605 | } |
| 606 | |
| 607 | void Updates::feedDifference( |
| 608 | const MTPVector<MTPUser> &users, |
| 609 | const MTPVector<MTPChat> &chats, |
| 610 | const MTPVector<MTPMessage> &msgs, |
| 611 | const MTPVector<MTPUpdate> &other) { |
| 612 | Core::App().checkAutoLock(); |
| 613 | session().data().processUsers(users); |
| 614 | session().data().processChats(chats); |
| 615 | applyConvertToScheduledOnSend(other); |
| 616 | feedMessageIds(other); |
| 617 | session().data().processMessages(msgs, NewMessageType::Unread); |
| 618 | feedUpdateVector(other, SkipUpdatePolicy::SkipMessageIds); |
| 619 | } |
| 620 | |
| 621 | void Updates::differenceFail(const MTP::Error &error) { |
| 622 | LOG(("RPC Error in getDifference: %1 %2: %3").arg( |
nothing calls this directly
no test coverage detected