New attachment storage system
This commit is contained in:
parent
273e1ccb15
commit
28664a606f
161 changed files with 2418 additions and 1562 deletions
|
@ -17,10 +17,11 @@ import { canEditGroupInfo } from './canEditGroupInfo';
|
|||
import { dropNull } from './dropNull';
|
||||
import { getAboutText } from './getAboutText';
|
||||
import {
|
||||
getAbsoluteAvatarPath,
|
||||
getAbsoluteUnblurredAvatarPath,
|
||||
getAbsoluteProfileAvatarPath,
|
||||
getLocalUnblurredAvatarUrl,
|
||||
getAvatarHash,
|
||||
getLocalAvatarUrl,
|
||||
getLocalProfileAvatarUrl,
|
||||
getRawAvatarPath,
|
||||
} from './avatarUtils';
|
||||
import { getAvatarData } from './getAvatarData';
|
||||
import { getConversationMembers } from './getConversationMembers';
|
||||
|
@ -154,10 +155,11 @@ export function getConversation(model: ConversationModel): ConversationType {
|
|||
canChangeTimer: canChangeTimer(attributes),
|
||||
canEditGroupInfo: canEditGroupInfo(attributes),
|
||||
canAddNewMembers: canAddNewMembers(attributes),
|
||||
avatarPath: getAbsoluteAvatarPath(attributes),
|
||||
avatarUrl: getLocalAvatarUrl(attributes),
|
||||
rawAvatarPath: getRawAvatarPath(attributes),
|
||||
avatarHash: getAvatarHash(attributes),
|
||||
unblurredAvatarPath: getAbsoluteUnblurredAvatarPath(attributes),
|
||||
profileAvatarPath: getAbsoluteProfileAvatarPath(attributes),
|
||||
unblurredAvatarUrl: getLocalUnblurredAvatarUrl(attributes),
|
||||
profileAvatarUrl: getLocalProfileAvatarUrl(attributes),
|
||||
color,
|
||||
conversationColor: attributes.conversationColor,
|
||||
customColor,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue