Z
Z
zkweb2016-08-26 14:18:05
Django
zkweb, 2016-08-26 14:18:05

How to fix the error - JID could not be parsed?

Hello. There was a need to send notifications from Django to Jabber.
I installed this thing: https://github.com/alexmorozov/django-jabber
I set everything up. As a result, I get this:
JID could not be parsed
f87e41812ebe4b71b6a60f5d92eb921e.JPG
What is wrong, please tell me. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2016-08-26
@sim3x

https://github.com/fritzy/SleekXMPP/blob/4305eddb4...
jabber id must match
https://github.com/fritzy/SleekXMPP/blob/4305eddb4...

JID_PATTERN = re.compile(
    "^(?:([^\"&'/:<>@]{1,1023})@)?([^/@]{1,1023})(?:/(.{1,1023}))?$"
)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question