Пример #1
0
 def onRequestUploadError(self, errorNode, requestUploadEntity):
     self.toUpper(ErrorIqProtocolEntity.fromProtocolTreeNode(errorNode))
Пример #2
0
 def onSetStatusError(self, errorNode, originalIqRequestEntity):
     self.toUpper(ErrorIqProtocolEntity.fromProtocolTreeNode(errorNode))
Пример #3
0
 def onDeletePictureError(self, errorNode, originalIqRequestEntity):
     self.toUpper(ErrorIqProtocolEntity.fromProtocolTreeNode(errorNode))
Пример #4
0
 def onLastSeenError(self, protocolTreeNode, lastSeenEntity):
     self.toUpper(ErrorIqProtocolEntity.fromProtocolTreeNode(protocolTreeNode))
Пример #5
0
 def onDemoteParticipantsFailed(self, node, originalIqEntity):
     logger.error("Group demote participants failed")
     self.toUpper(ErrorIqProtocolEntity.fromProtocolTreeNode(node))
Пример #6
0
 def onSetSubjectFailed(self, node, originalIqEntity):
     logger.error("Group subject change failed")
     self.toUpper(ErrorIqProtocolEntity.fromProtocolTreeNode(node))
Пример #7
0
 def onCreateGroupFailed(self, node, originalIqEntity):
     logger.error("Group create failed")
     self.toUpper(ErrorIqProtocolEntity.fromProtocolTreeNode(node))
 def fromProtocolTreeNode(node):
     entity = ErrorIqProtocolEntity.fromProtocolTreeNode(node)
     entity.__class__ = FailureAddParticipantsIqProtocolEntity
     return entity