Dont check for "to"

This commit is contained in:
2011-11-24 21:09:02 +00:00
parent a2acc600a2
commit e34c8ca05d

View File

@@ -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':