incubator-esme-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vdic...@apache.org
Subject svn commit: r825201 - /incubator/esme/trunk/server/src/main/scala/org/apache/esme/actor/HttpSender.scala
Date Wed, 14 Oct 2009 17:22:19 GMT
Author: vdichev
Date: Wed Oct 14 17:22:19 2009
New Revision: 825201

URL: http://svn.apache.org/viewvc?rev=825201&view=rev
Log:
ESME-29 Expand tags and date in mail and HTTP POST actions

Modified:
    incubator/esme/trunk/server/src/main/scala/org/apache/esme/actor/HttpSender.scala

Modified: incubator/esme/trunk/server/src/main/scala/org/apache/esme/actor/HttpSender.scala
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/scala/org/apache/esme/actor/HttpSender.scala?rev=825201&r1=825200&r2=825201&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/main/scala/org/apache/esme/actor/HttpSender.scala (original)
+++ incubator/esme/trunk/server/src/main/scala/org/apache/esme/actor/HttpSender.scala Wed
Oct 14 17:22:19 2009
@@ -98,7 +98,9 @@
     replace("%f", followerName).
     replace("%i", user.imageUrl).
     replace("%w", user.wholeName).
-    replace("%s", msg.getText)
+    replace("%s", msg.getText).
+    replace("%t", msg.getTags).
+    replace("%d", msg.getWhen.toString)
   }
 
   // Overloaded method from GetPoster



Mime
View raw message