Appease the linter

This commit is contained in:
Travis Ralston 2020-08-31 10:59:37 -06:00
parent fdbaddbace
commit 7f7414ed5a

View file

@ -152,9 +152,9 @@ 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 The matrix client to use to fetch the profile, if needed.
* @param groupId The group ID to get the profile for.
* @returns The profile if known, otherwise null.
* @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.
* @returns {*} The profile if known, otherwise null.
*/
getGroupProfileCachedFast(matrixClient, groupId) {
if (!matrixClient || !groupId) return null;