This commit is contained in:
moyamo 2016-01-08 15:32:06 +02:00
parent 3fba33ac8b
commit 4273153d84
1 changed files with 2 additions and 2 deletions

View File

@ -118,8 +118,8 @@ class WhatsAppBackend(SpectrumBackend):
self.sessions[user].requestVCard(buddy, ID)
def handleVCardUpdatedRequest(self, user, photo, nickname):
self.logger.debug("handleVCardUpdatedRequest(user=%s, nickname=%s)", user, photo, nickname)
self.session[user].setProfilePicture(photo)
self.logger.debug("handleVCardUpdatedRequest(user=%s, nickname=%s)", user, nickname)
self.sessions[user].setProfilePicture(photo)
def relogin(self, user, legacyName, password, extra):
"""