Skip to content

Commit

Permalink
Merge pull request #988 from Dl0tt/Axolotl-Missing-Arguments
Browse files Browse the repository at this point in the history
Update axolotl's layer.py
  • Loading branch information
tgalal committed Aug 8, 2015
2 parents 35fecfd + d504ff1 commit 77330b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yowsup/layers/axolotl/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def receive(self, protocolTreeNode):
##### handling received data #####
def onEncryptNotification(self, protocolTreeNode):
entity = EncryptNotification.fromProtocolTreeNode(protocolTreeNode)
ack = OutgoingAckProtocolEntity(protocolTreeNode["id"], "notification", protocolTreeNode["type"])
ack = OutgoingAckProtocolEntity(protocolTreeNode["id"], "notification", protocolTreeNode["type"], protocolTreeNode["from"])
self.toLower(ack.toProtocolTreeNode())
self.sendKeys(fresh=False, countPreKeys = self.__class__._COUNT_PREKEYS - entity.getCount())

Expand Down Expand Up @@ -356,4 +356,4 @@ def getSessionCipher(self, recipientId):
return self.sessionCiphers[recipientId]
else:
self.sessionCiphers[recipientId] = SessionCipher(self.store, self.store, self.store, self.store, recipientId, 1)
return self.sessionCiphers[recipientId]
return self.sessionCiphers[recipientId]

0 comments on commit 77330b8

Please sign in to comment.