message: fixed inexplicible scope bug
diff: @@ -31,7 +31,7 @@ import dis from "../../../dispatcher";
  import IdentityAuthClient from "../../../IdentityAuthClient";
  import Modal from "../../../Modal";
  import {humanizeTime} from "../../../utils/humanize";
  -import createRoom from "../../../createRoom";
  +import createRoom, {canEncryptToAllUsers} from "../../../createRoom";
  import {inviteMultipleToRoom} from "../../../RoomInvite";
  import SettingsStore from '../../../settings/SettingsStore';
  @@ -535,7 +535,7 @@ export default class InviteDialog extends React.PureComponent {
  // Check whether all users have uploaded device keys before.
  // If so, enable encryption in the new room.
  const client = MatrixClientPeg.get();
  - const allHaveDeviceKeys = await createRoom.canEncryptToAllUsers(client, targetIds);
  + const allHaveDeviceKeys = await canEncryptToAllUsers(client, targetIds);
  if (allHaveDeviceKeys) {
  createRoomOptions.encryption = true;
  }
  