mirror of https://github.com/zulip/zulip.git
Narrow by recipient when the user presses 'S' on a huddle
(imported from commit 7e7c3d27b0824a60f7e8379c282ec05704d842f6)
This commit is contained in:
parent
8fa0e687ae
commit
f3f9fb545d
|
@ -79,8 +79,12 @@ exports.all_huddles = function () {
|
|||
|
||||
exports.by_subject = function () {
|
||||
var original = message_dict[target_id];
|
||||
if (original.type !== 'stream')
|
||||
if (original.type !== 'stream') {
|
||||
// Only stream messages have subjects, but the
|
||||
// user wants us to narrow in some way.
|
||||
exports.by_recipient();
|
||||
return;
|
||||
}
|
||||
|
||||
var icon = "<i class='icon-bullhorn'></i>";
|
||||
var message = original.display_recipient + " | " + original.subject;
|
||||
|
|
Loading…
Reference in New Issue