File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,10 +93,10 @@ server using the credentials you provided.
9393Enabling XMPP auto registration
9494--------------------------------
9595
96- By enabling auto registration ``` django-conversejs` `` will attempt to create a new
96+ By enabling auto registration ``django-conversejs `` will attempt to create a new
9797XMPP account for every user that doesn't have one as soon as they login in your site.
9898
99- To enable you just need to add the ``` CONVERSEJS_AUTO_REGISTER` `` option to your
99+ To enable you just need to add the ``CONVERSEJS_AUTO_REGISTER `` option to your
100100settings.py setting it to the domain of your XMPP service. Notice that the XMPP
101101server and the BOSH service URL are two different things.
102102
@@ -109,10 +109,10 @@ For example:
109109 CONVERSEJS_AUTO_REGISTER = ' xmpp.mycompany.com'
110110
111111
112- In the example above Django will get the username from ``` request.user.username` `` and
113- try to register under the xmpp domain ``` xmpp.mycompany.com` `` , so if an user john logs in it would try to register ``` john@xmpp.mycompany.com` ``.
112+ In the example above Django will get the username from ``request.user.username `` and
113+ try to register under the xmpp domain ``xmpp.mycompany.com ``, so if an user john logs in it would try to register ``john@xmpp.mycompany.com ``.
114114
115- If registration fails for any reason ``` django-conversejs` `` will attempt again on every request. That's something to be improved.
115+ If registration fails for any reason ``django-conversejs `` will attempt again on every request. That's something to be improved.
116116
117117
118118Forms
You can’t perform that action at this time.
0 commit comments