use valid jsdoc

pull/21833/head
Travis Ralston 2020-08-31 11:07:29 -06:00
parent 7f7414ed5a
commit b4f62e9c88
2 changed files with 2 additions and 3 deletions

View File

@ -24,7 +24,6 @@ import * as sdk from './';
import { _t } from './languageHandler';
import {KIND_DM, KIND_INVITE} from "./components/views/dialogs/InviteDialog";
import CommunityPrototypeInviteDialog from "./components/views/dialogs/CommunityPrototypeInviteDialog";
import GroupStore from "./stores/GroupStore";
import {CommunityPrototypeStore} from "./stores/CommunityPrototypeStore";
/**

View File

@ -152,8 +152,8 @@ class FlairStore extends EventEmitter {
* Gets the profile for the given group if known, otherwise returns null.
* This triggers `getGroupProfileCached` if needed, though the result of the
* call will not be returned by this function.
* @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 {MatrixClient} matrixClient The matrix client to use to fetch the profile, if needed.
* @param {string} groupId The group ID to get the profile for.
* @returns {*} The profile if known, otherwise null.
*/
getGroupProfileCachedFast(matrixClient, groupId) {