コード例 #1
0
 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)
コード例 #2
0
 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
     )
コード例 #3
0
 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)
コード例 #4
0
 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
     )