Skip to content

Commit

Permalink
Bug Fixed group_get_participants id
Browse files Browse the repository at this point in the history
Bug Fixed  Function group_get_participants.
the error was originated when looking for a serialized id so it did not print the list of participants.
  • Loading branch information
Theblood authored Sep 21, 2018
1 parent 06060f6 commit 9161d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webwhatsapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ def group_get_participants(self, group_id):
participant_ids = self.group_get_participants_ids(group_id)

for participant_id in participant_ids:
yield self.get_contact_from_id(participant_id)
yield self.get_contact_from_id(participant_id['_serialized'])

def group_get_admin_ids(self, group_id):
return self.wapi_functions.getGroupAdmins(group_id)
Expand Down

0 comments on commit 9161d3a

Please sign in to comment.