|
@@ -96,7 +96,7 @@ class OrdersSerializer(serializers.ModelSerializer):
|
|
owner > admin
|
|
owner > admin
|
|
"""
|
|
"""
|
|
members_accounts = {
|
|
members_accounts = {
|
|
- "owner": ("sports_backend@" + EJ_HOST, "owner"),
|
|
|
|
|
|
+ "owner": (WEBSERVICE_NAME + "_backend@" + EJ_HOST, "owner"),
|
|
"client": (client, "member"),
|
|
"client": (client, "member"),
|
|
"support": (support, "member"),
|
|
"support": (support, "member"),
|
|
"provider": (provider, "member"),
|
|
"provider": (provider, "member"),
|
|
@@ -104,7 +104,7 @@ class OrdersSerializer(serializers.ModelSerializer):
|
|
data = {
|
|
data = {
|
|
"name": room_name,
|
|
"name": room_name,
|
|
"service": EJ_SERVICE,
|
|
"service": EJ_SERVICE,
|
|
- "jid": "sports_backend@" + EJ_HOST,
|
|
|
|
|
|
+ "jid": WEBSERVICE_NAME + "_backend@" + EJ_HOST,
|
|
"affiliation": "owner"
|
|
"affiliation": "owner"
|
|
}
|
|
}
|
|
#
|
|
#
|