[manual] send_message: Rename recipient/stream fields to 'to'.

This commit changes APIs and requires and update of all zephyr
mirroring bots to deploy properly.

(imported from commit 2672d2d07269379f7a865644aaeb6796d54183e1)
This commit is contained in:
Tim Abbott 2012-11-14 17:21:46 -05:00
parent fb59f15099
commit 6727e9dbd9
7 changed files with 12 additions and 12 deletions

View file

@ -59,14 +59,14 @@ if child_pid == 0:
humbug_client.send_message({
"type": "private",
"content": str(hzkey1),
"recipient": humbug_user,
"to": humbug_user,
});
time.sleep(0.2)
humbug_client.send_message({
"type": "stream",
"subject": "test",
"content": str(hzkey2),
"stream": "tabbott-nagios-test",
"to": "tabbott-nagios-test",
});
if options.verbose:
print "Sent Humbug messages!"