mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user