diff --git a/models.py b/models.py index d6f839f9..6ec7616f 100644 --- a/models.py +++ b/models.py @@ -85,6 +85,8 @@ class Source(StringIdModel, metaclass=SourceMeta): GR_CLASS = None # oauth-dropins StartHandler class OAUTH_START_HANDLER = None + # whether Bridgy supports listen for this silo - this is unlikely, so we default to True + CAN_LISTEN = True # whether Bridgy supports publish for this silo CAN_PUBLISH = None # how often to poll for responses diff --git a/templates/social_user.html b/templates/social_user.html index 164c90ac..e95f9d5c 100644 --- a/templates/social_user.html +++ b/templates/social_user.html @@ -56,6 +56,7 @@
+{% if source.CAN_LISTEN %}
@@ -179,10 +180,11 @@ {% endif %}
+{% endif %} -
+
{% if "publish" in source.features and source.status != "disabled" %} @@ -329,7 +331,7 @@ {% endfor %} -{% else %} +{% elif source.CAN_LISTEN %}

No responses.

{% endif %}