This repository was archived by the owner on Jul 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
app/src/main/java/com/zulip/android Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -188,19 +188,19 @@ public boolean onContextItemSelected(MenuItem item) {
188
188
return true ;
189
189
case R .id .narrow_to_private :
190
190
if (getActivity () instanceof NarrowListener ) {
191
- ((NarrowListener ) getActivity ()).onNarrow (new NarrowFilterPM (Arrays .asList (message .getRecipients (app ))));
191
+ ((NarrowListener ) getActivity ()).onNarrow (new NarrowFilterPM (Arrays .asList (message .getRecipients (app ))), message . getId () );
192
192
((NarrowListener ) getActivity ()).onNarrowFillSendBox (message , false );
193
193
}
194
194
return true ;
195
195
case R .id .narrow_to_stream :
196
196
if (getActivity () instanceof NarrowListener ) {
197
- ((NarrowListener ) getActivity ()).onNarrow (new NarrowFilterStream (message .getStream (), null ));
197
+ ((NarrowListener ) getActivity ()).onNarrow (new NarrowFilterStream (message .getStream (), null ), message . getId () );
198
198
((NarrowListener ) getActivity ()).onNarrowFillSendBox (message , false );
199
199
}
200
200
return true ;
201
201
case R .id .narrow_to_subject :
202
202
if (getActivity () instanceof NarrowListener ) {
203
- ((NarrowListener ) getActivity ()).onNarrow (new NarrowFilterStream (message .getStream (), message .getSubject ()));
203
+ ((NarrowListener ) getActivity ()).onNarrow (new NarrowFilterStream (message .getStream (), message .getSubject ()), message . getId () );
204
204
((NarrowListener ) getActivity ()).onNarrowFillSendBox (message , false );
205
205
}
206
206
return true ;
Original file line number Diff line number Diff line change @@ -218,6 +218,7 @@ public void setFetchColor(String fetchedColor) {
218
218
219
219
public void setInHomeView (boolean inHomeView ) {
220
220
this .inHomeView = inHomeView ;
221
+ }
221
222
222
223
/**
223
224
* This function returns the last message read in {@param streamName} stream.
You can’t perform that action at this time.
0 commit comments