mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
use valid jsdoc
This commit is contained in:
parent
7f7414ed5a
commit
b4f62e9c88
@ -24,7 +24,6 @@ import * as sdk from './';
|
|||||||
import { _t } from './languageHandler';
|
import { _t } from './languageHandler';
|
||||||
import {KIND_DM, KIND_INVITE} from "./components/views/dialogs/InviteDialog";
|
import {KIND_DM, KIND_INVITE} from "./components/views/dialogs/InviteDialog";
|
||||||
import CommunityPrototypeInviteDialog from "./components/views/dialogs/CommunityPrototypeInviteDialog";
|
import CommunityPrototypeInviteDialog from "./components/views/dialogs/CommunityPrototypeInviteDialog";
|
||||||
import GroupStore from "./stores/GroupStore";
|
|
||||||
import {CommunityPrototypeStore} from "./stores/CommunityPrototypeStore";
|
import {CommunityPrototypeStore} from "./stores/CommunityPrototypeStore";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -152,8 +152,8 @@ class FlairStore extends EventEmitter {
|
|||||||
* Gets the profile for the given group if known, otherwise returns null.
|
* Gets the profile for the given group if known, otherwise returns null.
|
||||||
* This triggers `getGroupProfileCached` if needed, though the result of the
|
* This triggers `getGroupProfileCached` if needed, though the result of the
|
||||||
* call will not be returned by this function.
|
* call will not be returned by this function.
|
||||||
* @param matrixClient {MatrixClient} The matrix client to use to fetch the profile, if needed.
|
* @param {MatrixClient} matrixClient The matrix client to use to fetch the profile, if needed.
|
||||||
* @param groupId {string} The group ID to get the profile for.
|
* @param {string} groupId The group ID to get the profile for.
|
||||||
* @returns {*} The profile if known, otherwise null.
|
* @returns {*} The profile if known, otherwise null.
|
||||||
*/
|
*/
|
||||||
getGroupProfileCachedFast(matrixClient, groupId) {
|
getGroupProfileCachedFast(matrixClient, groupId) {
|
||||||
|
Loading…
Reference in New Issue
Block a user