mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 19:31:58 +00:00
login_to_access: Rename module to spectators.
This allows us to call spectators.login_to_access which is more clear for what it does.
This commit is contained in:
@@ -8,11 +8,11 @@ import * as blueslip from "./blueslip";
|
||||
import * as channel from "./channel";
|
||||
import * as emoji_picker from "./emoji_picker";
|
||||
import {$t} from "./i18n";
|
||||
import * as login_to_access from "./login_to_access";
|
||||
import * as message_lists from "./message_lists";
|
||||
import * as message_store from "./message_store";
|
||||
import {page_params} from "./page_params";
|
||||
import * as people from "./people";
|
||||
import * as spectators from "./spectators";
|
||||
import {user_settings} from "./user_settings";
|
||||
|
||||
export const view = {}; // function namespace
|
||||
@@ -114,7 +114,7 @@ export function process_reaction_click(message_id, local_id) {
|
||||
if (page_params.is_spectator) {
|
||||
// Spectators can't react, since they don't have accounts. We
|
||||
// stop here to avoid a confusing reaction local echo.
|
||||
login_to_access.show();
|
||||
spectators.login_to_access();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user