File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed 
src/main/java/servicestack/net/androidchat Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ dependencies {
5454    })
5555    compile ' com.android.support:appcompat-v7:25.2.0' 
5656    compile ' com.android.support:design:25.2.0' 
57-     compile ' net.servicestack:android:1.0.30 ' 
57+     compile ' net.servicestack:android:1.0.31 ' 
5858    compile ' com.facebook.android:facebook-android-sdk:[4,5)' 
5959    compile(' com.twitter.sdk.android:twitter:2.3.1@aar'  ) {
6060        transitive =  true ;
Original file line number Diff line number Diff line change @@ -91,14 +91,12 @@ protected void onCreate(Bundle savedInstanceState) {
9191                    Extensions .updateUserProfile (connectMsg , mainActivity );
9292                });
9393            })
94-             .setOnCommand (command  -> {
95-                 if  (command  instanceof  ServerEventJoin ){
96-                     getClient ().getChannelSubscribersAsync (r  -> {
97-                         subscriberList  = r ;
98-                         // Refresh profile icons when users join 
99-                         messageHistoryAdapter .notifyDataSetChanged ();
100-                     });
101-                 }
94+             .setOnJoin (msg  -> {
95+                 getClient ().getChannelSubscribersAsync (r  -> {
96+                     subscriberList  = r ;
97+                     // Refresh profile icons when users join 
98+                     messageHistoryAdapter .notifyDataSetChanged ();
99+                 });
102100            })
103101            .setOnException (error  -> mainActivity .runOnUiThread (() ->
104102                Toast .makeText (this , "Error : "  + error .getMessage (), Toast .LENGTH_LONG )))
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments