Merge pull request #74 from Nicos-git/yowsup-2

Fixed inconsistent whitespace
This commit is contained in:
Steffen Vogel 2017-03-08 20:04:12 -04:00 committed by GitHub
commit e3ebdae54e
2 changed files with 2 additions and 2 deletions

View file

@ -690,7 +690,7 @@ class Session(YowsupApp):
waId = self.sendTextMessage(sender + '@s.whatsapp.net', message) waId = self.sendTextMessage(sender + '@s.whatsapp.net', message)
self.msgIDs[waId] = MsgIDs(ID, waId) self.msgIDs[waId] = MsgIDs(ID, waId)
self.logger.info("WA Message send to %s with ID %s", buddy, waId) # self.logger.info("WA Message send to %s with ID %s", buddy, waId)
def executeCommand(self, command, room): def executeCommand(self, command, room):
if command == '\\leave': if command == '\\leave':

View file

@ -165,7 +165,7 @@ class WhatsAppBackend(SpectrumBackend):
def handleRawXmlRequest(self, xml): def handleRawXmlRequest(self, xml):
pass pass
def handleMessageAckRequest(self, user, legacyName, ID = 0): def handleMessageAckRequest(self, user, legacyName, ID = 0):
self.logger.info("Meassage ACK request for %s !!" % legacyName) self.logger.info("Meassage ACK request for %s !!" % legacyName)
def sendData(self, data): def sendData(self, data):