yowsup
yowsup copied to clipboard
Change CreateGroupIqProtocolEntity to CreateGroupsIqProtocolEntity
File "/home/debianitram/Documentos/Proyectos/yowsup/yowsup/layers/protocol_groups/protocolentities/iq_groups_create.py", line 11, in init super(CreateGroupIqProtocolEntity, self).init(to = "g.us", _id = _id, _type = "set") NameError: name 'CreateGroupIqProtocolEntity' is not defined
change CreateGroupIqProtocolEntity to CreateGroupsIqProtocolEntity .
class CreateGroupsIqProtocolEntity(GroupsIqProtocolEntity):
'''
<iq type="set" id="{{id}}" xmlns="w:g", to="g.us">
Thanks, fixed