james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From don...@apache.org
Subject svn commit: r1684702 - /james/hupa/trunk/client/src/main/java/org/apache/hupa/client/activity/MessageListActivity.java
Date Wed, 10 Jun 2015 16:19:16 GMT
Author: dongxu
Date: Wed Jun 10 16:19:15 2015
New Revision: 1684702

URL: http://svn.apache.org/r1684702
Log:
HUPA-110 message select event should take place when user refreshing some message detail.

Modified:
    james/hupa/trunk/client/src/main/java/org/apache/hupa/client/activity/MessageListActivity.java

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/activity/MessageListActivity.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/activity/MessageListActivity.java?rev=1684702&r1=1684701&r2=1684702&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/activity/MessageListActivity.java
(original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/activity/MessageListActivity.java
Wed Jun 10 16:19:15 2015
@@ -133,7 +133,7 @@ public class MessageListActivity extends
         }));
     }
 
-    protected void onMessageSelected(Message message) {
+    public void onMessageSelected(Message message) {
         antiSelectMessages(display.getGrid().getVisibleItems());
         GetMessageDetailsRequest req = rf.messageDetailsRequest();
         GetMessageDetailsAction action = req.create(GetMessageDetailsAction.class);
@@ -242,6 +242,7 @@ public class MessageListActivity extends
                             int l = messages.size();
                             for (int i = 0; i < l; i++){
                                 Message m = messages.get(i);
+                                MessageListActivity.this.onMessageSelected(m);//FIXME for
fixing https://issues.apache.org/jira/browse/HUPA-110
                                 if (m.getUid() == event.messageDetails.getUid()) {
                                     List<IMAPFlag> flags = m.getFlags();
                                     if (!flags.contains(IMAPFlag.SEEN)) {



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message