mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-04 22:40:29 +03:00
remove extra conditions
This commit is contained in:
parent
ede68feb12
commit
3562a5c893
1 changed files with 3 additions and 3 deletions
|
|
@ -299,9 +299,9 @@ export const getDirectRoomAvatarUrl = (
|
|||
return getRoomAvatarUrl(mx, room, size, useAuthentication);
|
||||
}
|
||||
|
||||
return mxcUrl
|
||||
? mx.mxcUrlToHttp(mxcUrl, size, size, 'crop', undefined, false, useAuthentication) ?? undefined
|
||||
: undefined;
|
||||
return (
|
||||
mx.mxcUrlToHttp(mxcUrl, size, size, 'crop', undefined, false, useAuthentication) ?? undefined
|
||||
);
|
||||
};
|
||||
|
||||
export const trimReplyFromBody = (body: string): string => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue