diff --git a/fbchat/client.py b/fbchat/client.py index be2505b..83d7a40 100644 --- a/fbchat/client.py +++ b/fbchat/client.py @@ -1004,7 +1004,7 @@ class Client(object): thread_id, thread_type = self._getThread(thread_id, thread_type) data = self._getSendData(thread_id=thread_id, thread_type=thread_type) data['action_type'] = 'ma-type:user-generated-message' - data['lightweight_action_attachment[lwa_state]'] = "INITIATED" if init else "RECIPROCATED" + data['lightweight_action_attachment[lwa_state]'] = "INITIATED" if wave_first else "RECIPROCATED" data['lightweight_action_attachment[lwa_type]'] = "WAVE" if thread_type == ThreadType.USER: data['specific_to_list[0]'] = "fbid:{}".format(thread_id)