air: Update add/clear postremove for prerouted postremoves.

This commit is contained in:
Harvir 2014-08-04 07:02:11 +01:00
parent b9b3bf0306
commit d5207cac3f
1 changed files with 2 additions and 0 deletions

View File

@ -202,6 +202,7 @@ class AstronInternalRepository(ConnectionRepository):
dg2 = PyDatagram()
dg2.addServerControlHeader(CONTROL_ADD_POST_REMOVE)
dg2.addUint64(self.ourChannel)
dg2.addString(dg.getMessage())
self.send(dg2)
@ -216,6 +217,7 @@ class AstronInternalRepository(ConnectionRepository):
dg = PyDatagram()
dg.addServerControlHeader(CONTROL_CLEAR_POST_REMOVE)
dg.addUint64(self.ourChannel)
self.send(dg)
def handleDatagram(self, di):