Fix mit_sync_bots for personals only.
(imported from commit 9fd7ac87d2cdc32413edefbde8870bbe59b67380)
This commit is contained in:
parent
5fe0487783
commit
dde4b785f9
|
@ -75,6 +75,7 @@ def humbug_username(zephyr_username):
|
||||||
return zephyr_username.lower().split("@")[0] + "@mit.edu"
|
return zephyr_username.lower().split("@")[0] + "@mit.edu"
|
||||||
|
|
||||||
def send_humbug(zeph):
|
def send_humbug(zeph):
|
||||||
|
if options.forward_class_messages:
|
||||||
zeph["forged"] = "yes"
|
zeph["forged"] = "yes"
|
||||||
zeph["sender"] = humbug_username(zeph["sender"])
|
zeph["sender"] = humbug_username(zeph["sender"])
|
||||||
zeph['fullname'] = username_to_fullname(zeph['sender'])
|
zeph['fullname'] = username_to_fullname(zeph['sender'])
|
||||||
|
|
Loading…
Reference in a new issue