def askLastIDs(self, conn): tm = self.app.tm conn.answer(Packets.AnswerLastIDs(tm.getLastOID(), tm.getLastTID()))
def askLastIDs(self, conn): dm = self.app.dm dm.truncate() ltid, _, _, loid = dm.getLastIDs() conn.answer(Packets.AnswerLastIDs(loid, ltid))