Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Use proper NON_PROMOTIONAL_SUBSCRIPTION tag
Browse files Browse the repository at this point in the history
  • Loading branch information
freedomofkeima committed Jun 21, 2018
1 parent 69ea4f5 commit b55d524
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions maidchan/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ def send_text_message(access_token, recipient_id, text, passive=False):
args.append('-F')
args.append('messaging_type=MESSAGE_TAG')
args.append('-F')
# Waiting for NON_PROMOTIONAL_SUBSCRIPTION
args.append('tag=ACCOUNT_UPDATE')
args.append('tag=NON_PROMOTIONAL_SUBSCRIPTION')
else:
args.append('-F')
args.append('messaging_type=RESPONSE')
Expand Down Expand Up @@ -62,8 +61,7 @@ def send_image(access_token, recipient_id, image_path,
args.append('-F')
args.append('messaging_type=MESSAGE_TAG')
args.append('-F')
# Waiting for NON_PROMOTIONAL_SUBSCRIPTION
args.append('tag=ACCOUNT_UPDATE')
args.append('tag=NON_PROMOTIONAL_SUBSCRIPTION')
else:
args.append('-F')
args.append('messaging_type=RESPONSE')
Expand Down

0 comments on commit b55d524

Please sign in to comment.