mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 23:02:19 +00:00
Dont check for "to"
This commit is contained in:
@@ -270,7 +270,7 @@ class AnnounceHandler(BaseHandler):
|
|||||||
message = request.GET.get('message', None)
|
message = request.GET.get('message', None)
|
||||||
subject = request.GET.get('subject', None)
|
subject = request.GET.get('subject', None)
|
||||||
|
|
||||||
if sid and to and message:
|
if sid and message:
|
||||||
srv = get_object_or_404(Service, pk=sid)
|
srv = get_object_or_404(Service, pk=sid)
|
||||||
|
|
||||||
if not srv.api == 'sso.services.jabber':
|
if not srv.api == 'sso.services.jabber':
|
||||||
|
|||||||
Reference in New Issue
Block a user