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