Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit f791888

Browse files
jainkuniyakunall17
authored andcommitted
fix: Person field is not auto filled.
When message is clicked in self narrow. Fix:#488
1 parent adc28e0 commit f791888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/zulip/android/models/Message.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public static String emailsMinusYou(List<Person> people, Person you) {
231231
ArrayList<String> names = new ArrayList<>();
232232

233233
for (Person person : people) {
234-
if (person.id != you.id) {
234+
if (person.id != you.id || people.size() == 1) {
235235
names.add(person.getEmail());
236236
}
237237
}

0 commit comments

Comments
 (0)