Skip to content

Commit a773f1f

Browse files
committed
Remove unused attachment_support field from ChannelType
1 parent 8ef2842 commit a773f1f

File tree

64 files changed

+0
-82
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+0
-82
lines changed

temba/channels/models.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ class IVRProtocol(Enum):
7777

7878
max_length = -1
7979
max_tps = None
80-
attachment_support = False
8180
free_sending = False
8281
quick_reply_text_size = 20
8382

@@ -166,12 +165,6 @@ def deactivate_trigger(self, trigger):
166165
Called when a trigger that is bound to a channel of this type is being released.
167166
"""
168167

169-
def has_attachment_support(self, channel):
170-
"""
171-
Whether the given channel instance supports message attachments
172-
"""
173-
return self.attachment_support
174-
175168
def get_configuration_context_dict(self, channel):
176169
return dict(channel=channel, ip_addresses=settings.IP_ADDRESSES)
177170

temba/channels/types/africastalking/type.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class AfricasTalkingType(ChannelType):
2626

2727
schemes = [URN.TEL_SCHEME]
2828
max_length = 160
29-
attachment_support = False
3029

3130
configuration_blurb = _(
3231
"To finish configuring your Africa's Talking connection you'll need to set the following callback URLs on the "

temba/channels/types/android/type.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class AndroidType(ChannelType):
2626

2727
schemes = [URN.TEL_SCHEME]
2828
max_length = -1
29-
attachment_support = False
3029
free_sending = False
3130
show_config_page = False
3231

temba/channels/types/arabiacell/type.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class ArabiaCellType(ChannelType):
1818
category = ChannelType.Category.PHONE
1919
schemes = [URN.TEL_SCHEME]
2020
max_length = 1530
21-
attachment_support = False
2221

2322
claim_view = ClaimView
2423
claim_blurb = _("If you have an %(link)s number, you can quickly connect it using their APIs.") % {

temba/channels/types/blackmyna/type.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class BlackmynaType(ChannelType):
2525

2626
schemes = [URN.TEL_SCHEME]
2727
max_length = 1600
28-
attachment_support = False
2928

3029
configuration_blurb = _(
3130
"To finish configuring your Blackmyna connection you'll need to notify Blackmyna of the following URLs."

temba/channels/types/bongolive/type.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class BongoLiveType(ChannelType):
2020

2121
schemes = [URN.TEL_SCHEME]
2222
max_length = 160
23-
attachment_support = False
2423

2524
claim_view = ClaimView
2625
claim_blurb = _("If you have an %(link)s number, you can quickly connect it using their APIs.") % {

temba/channels/types/burstsms/type.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ class BurstSMSType(ChannelType):
3333
category = ChannelType.Category.PHONE
3434
schemes = [URN.TEL_SCHEME]
3535
max_length = 613
36-
attachment_support = False
3736

3837
claim_view = AuthenticatedExternalClaimView
3938
claim_view_kwargs = {

temba/channels/types/chikka/type.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class ChikkaType(ChannelType):
2626

2727
schemes = [URN.TEL_SCHEME]
2828
max_length = 160
29-
attachment_support = False
3029

3130
configuration_blurb = _(
3231
"To finish configuring your Chikka connection you need to set the following URLs in your "

temba/channels/types/clickatell/type.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ class ClickatellType(ChannelType):
2727

2828
schemes = [URN.TEL_SCHEME]
2929
max_length = 420
30-
attachment_support = False
3130

3231
configuration_blurb = _(
3332
"To finish configuring your Clickatell connection you'll need to set the following callback URLs on the "

temba/channels/types/clickmobile/type.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class ClickMobileType(ChannelType):
2828

2929
schemes = [URN.TEL_SCHEME]
3030
max_length = 459
31-
attachment_support = False
3231

3332
configuration_blurb = _(
3433
"To finish configuring your channel you need to configure Click Mobile to send new messages to the URL below."

0 commit comments

Comments
 (0)