mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Appease the linter
This commit is contained in:
parent
fdbaddbace
commit
7f7414ed5a
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user