webhooks/zapier: Remove code related to our official Zapier app.

Our official Zapier app now uses our JS bindings (zulip-js) to
call the API directly and doesn't need to go through the webhook
anymore for anything.
This commit is contained in:
Eeshan Garg
2019-02-28 15:10:48 -03:30
committed by Tim Abbott
parent 4603cdba7e
commit 85f453998e
6 changed files with 1 additions and 91 deletions

View File

@@ -1980,15 +1980,6 @@ def check_send_private_message(sender: UserProfile, client: Client,
return do_send_messages([message])[0]
def check_send_private_message_from_emails(
sender: UserProfile, client: Client,
receiving_emails: Sequence[str], body: str
) -> int:
addressee = Addressee.for_private(receiving_emails, sender.realm)
message = check_message(sender, client, addressee, body)
return do_send_messages([message])[0]
# check_send_message:
# Returns the id of the sent message. Has same argspec as check_message.
def check_send_message(sender: UserProfile, client: Client, message_type_name: str,