|
|
@ -331,9 +331,12 @@ class PublicRelations(Bureau):
|
|
|
|
if len(notifications) > 0:
|
|
|
|
if len(notifications) > 0:
|
|
|
|
prn.set(text_type="B")
|
|
|
|
prn.set(text_type="B")
|
|
|
|
prn.text("NOTIFICATIONS:\r\n")
|
|
|
|
prn.text("NOTIFICATIONS:\r\n")
|
|
|
|
|
|
|
|
prn.set(text_type="NORMAL")
|
|
|
|
for note in notifications:
|
|
|
|
for note in notifications:
|
|
|
|
prn.text(note["type"] + " " + str(note["created_at"]) + " from " +
|
|
|
|
prn.text(note["type"] + " " + str(note["created_at"]) + " from " +
|
|
|
|
note["account"] + ":\r\n" + note["status"] + "\r\n")
|
|
|
|
note["account"]["display_name"] + " (" +
|
|
|
|
|
|
|
|
note["account"]["acct"] + "):\r\n" + note["status"] +
|
|
|
|
|
|
|
|
"\r\n")
|
|
|
|
|
|
|
|
|
|
|
|
prn.text("\r\n\r\n")
|
|
|
|
prn.text("\r\n\r\n")
|
|
|
|
prn.cut()
|
|
|
|
prn.cut()
|
|
|
|