* Should we put ESME-170: Pubsubhubbub support for Atom & RSS actions
to the backlog?
* @Ethan - did your comet rewrite deal with ESME 308 Update times in
standard timeline on a regular basis as well?
* @Ethan - does your comet rewrite solve ESME 282 - When a public
message is resent by one user, no other users are able to resend it
val resendId = "resend_" + m._1.id.toString
val resendAttrs =
BasicElemAttr("id",resendId).compose(BasicElemAttr("class","resend"))
val resendTransform:CssBindFunc =
if(m._3 || m._1.author.is == User.currentUser.map(_.id.is).openOr(0)) {
".resend" #> Text("")
} else {
".resend_link" #> SHtml.a(
() => resendMessage(m._1),
S.loc("ui_messages_message_label_resend").openOr(Text("")),
resendAttrs)
}
I assume that m._3 will be true after one user has sent the message.
In Mailbox.scala, resent is a boolean value. What if we changed
if(m._3 || m._1.author.is == User.currentUser.map(_.id.is).openOr(0)) {
to
if(m._1.author.is == User.currentUser.map(_.id.is).openOr(0)) {
D