mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Dont check for "to"
This commit is contained in:
@@ -270,7 +270,7 @@ class AnnounceHandler(BaseHandler):
|
||||
message = request.GET.get('message', 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)
|
||||
|
||||
if not srv.api == 'sso.services.jabber':
|
||||
|
||||
Reference in New Issue
Block a user