fixed concurrent modification when displaying read markers
This commit is contained in:
		
							parent
							
								
									1f77d5e115
								
							
						
					
					
						commit
						20286ea8d2
					
				@ -7,6 +7,7 @@ import android.text.SpannableStringBuilder;
 | 
				
			|||||||
import android.util.Log;
 | 
					import android.util.Log;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import com.google.common.base.Strings;
 | 
					import com.google.common.base.Strings;
 | 
				
			||||||
 | 
					import com.google.common.collect.ImmutableSet;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import org.json.JSONException;
 | 
					import org.json.JSONException;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -534,7 +535,7 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	public Set<ReadByMarker> getReadByMarkers() {
 | 
						public Set<ReadByMarker> getReadByMarkers() {
 | 
				
			||||||
		return Collections.unmodifiableSet(this.readByMarkers);
 | 
							return ImmutableSet.copyOf(this.readByMarkers);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	boolean similar(Message message) {
 | 
						boolean similar(Message message) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user