def customize_forward(cls, app, editor, dom, reply, inreplyto): return cls.customize_attribution( original=Message.forwardedMessagePrefixWithSpacer_(False), editor=editor, dom=dom, reply=reply, inreplyto=inreplyto, template=app.custom_forwarding_attribution, messagetype=FORWARD)
def customize_forward(cls, app, editor, dom, reply, inreplyto): return cls.customize_attribution( original = Message.forwardedMessagePrefixWithSpacer_(False), editor = editor, dom = dom, reply = reply, inreplyto = inreplyto, template = app.custom_forwarding_attribution, messagetype = FORWARD )
def customize_reply(cls, app, editor, dom, reply, inreplyto): return cls.customize_attribution( # grab the original attribution string from the # Message class, so we can replace it with a # customized version of it. original=Message.replyPrefixWithSpacer_(False), editor=editor, dom=dom, reply=reply, inreplyto=inreplyto, template=app.custom_reply_attribution, messagetype=REPLY)
def customize_reply(cls, app, editor, dom, reply, inreplyto): return cls.customize_attribution( # grab the original attribution string from the # Message class, so we can replace it with a # customized version of it. original = Message.replyPrefixWithSpacer_(False), editor = editor, dom = dom, reply = reply, inreplyto = inreplyto, template = app.custom_reply_attribution, messagetype = REPLY )