From 4a62ae1ee3ad33c9602d44c497cd8c07ef63957d Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier Date: Tue, 27 Apr 2021 23:17:26 +0000 Subject: [PATCH] fix: create_subscriptions missing entries --- .../management/commands/create_subscriptions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/djangoldp_notification/management/commands/create_subscriptions.py b/djangoldp_notification/management/commands/create_subscriptions.py index 387ca21..f0858bd 100644 --- a/djangoldp_notification/management/commands/create_subscriptions.py +++ b/djangoldp_notification/management/commands/create_subscriptions.py @@ -11,7 +11,9 @@ class Command(BaseCommand): xmpp = getattr(settings, 'PROSODY_HTTP_URL') Subscription.objects.get_or_create(object=host+"/circles/", inbox=xmpp + "/conference." + jabber_host + "/happydev_muc_admin", field=None) + Subscription.objects.get_or_create(object=host+"/circle-members/", inbox=xmpp + "/conference." + jabber_host + "/happydev_muc_admin", field="circle") Subscription.objects.get_or_create(object=host+"/projects/", inbox=xmpp + "/conference." + jabber_host + "/happydev_muc_admin", field=None) + Subscription.objects.get_or_create(object=host+"/project-members/", inbox=xmpp + "/conference." + jabber_host + "/happydev_muc_admin", field="project") Subscription.objects.get_or_create(object=host+"/users/", inbox=xmpp + "/" + jabber_host + "/happydev_user_admin", field=None) Subscription.objects.get_or_create(object=host+"/profiles/", inbox=xmpp + "/" + jabber_host + "/happydev_user_admin", field="user") Subscription.objects.get_or_create(object=host+"/chatprofiles/", inbox=xmpp + "/" + jabber_host + "/happydev_user_admin", field="user")