From e34c8ca05d29ba4bba531fe3671ee2533fcb2e46 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Thu, 24 Nov 2011 21:09:02 +0000 Subject: [PATCH] Dont check for "to" --- app/api/handlers/v1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/handlers/v1.py b/app/api/handlers/v1.py index 0a3bfd2..d70bb81 100644 --- a/app/api/handlers/v1.py +++ b/app/api/handlers/v1.py @@ -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':