[schema] Add a Client model keeping track of the sending client.

(imported from commit 31a430b1de14ce973addafd5d13ace049a8f8091)
This commit is contained in:
Tim Abbott
2012-10-19 15:30:42 -04:00
parent 2c89103b23
commit 7b3b4362dd
7 changed files with 61 additions and 5 deletions

View File

@@ -99,6 +99,7 @@ def send_humbug(zeph):
elif isinstance(zeph[key], str):
zeph[key] = zeph[key].decode("utf-8")
zeph['client'] = "zephyr_mirror"
return humbug_client.send_message(zeph)
def fetch_fullname(username):