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

Commit 880fd2a

Browse files
kunall17niftynei
authored andcommitted
Fill ChatBox on narrow.
Fill chatBox on narrow to private and stream.
1 parent 7158cec commit 880fd2a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/com/zulip/android/activities/MessageListFragment.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,16 +314,19 @@ public boolean onContextItemSelected(MenuItem item) {
314314
case R.id.narrow_to_private:
315315
if (getActivity() instanceof NarrowListener) {
316316
((NarrowListener) getActivity()).onNarrow(new NarrowFilterPM(Arrays.asList(message.getRecipients(app))));
317+
((NarrowListener) getActivity()).onNarrowFillSendBox(message);
317318
}
318319
return true;
319320
case R.id.narrow_to_stream:
320321
if (getActivity() instanceof NarrowListener) {
321322
((NarrowListener) getActivity()).onNarrow(new NarrowFilterStream(message.getStream(), null));
323+
((NarrowListener) getActivity()).onNarrowFillSendBox(message);
322324
}
323325
return true;
324326
case R.id.narrow_to_subject:
325327
if (getActivity() instanceof NarrowListener) {
326328
((NarrowListener) getActivity()).onNarrow(new NarrowFilterStream(message.getStream(), message.getSubject()));
329+
((NarrowListener) getActivity()).onNarrowFillSendBox(message);
327330
}
328331
return true;
329332
case R.id.copy_message:

0 commit comments

Comments
 (0)