format: send array of message bodies rather than just one

This commit is contained in:
Eric House 2013-05-22 06:40:02 -07:00
parent 11709b21bd
commit 78b3a91925

View file

@ -114,7 +114,7 @@ def notifyGCM( devids, typ, target ):
if typ == DEVTYPE_GCM:
if 3 <= target['clntVers']:
connname = "%s/%d" % (target['connname'], target['hid'])
data = { 'msg64': target['msg64'],
data = { 'msgs64': [ target['msg64'] ],
'connname': connname,
}
else: