1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Can change conversation image

This commit is contained in:
2021-03-13 11:33:25 +01:00
parent cbbda7237b
commit 642f5e11fc
5 changed files with 71 additions and 2 deletions

View File

@ -68,6 +68,8 @@ class ConversationsPolicy {
final int maxMessageImageHeight;
final int maxThumbnailWidth;
final int maxThumbnailHeight;
final int maxLogoWidth;
final int maxLogoHeight;
const ConversationsPolicy({
@required this.minMessageLen,
@ -80,6 +82,8 @@ class ConversationsPolicy {
@required this.maxMessageImageHeight,
@required this.maxThumbnailWidth,
@required this.maxThumbnailHeight,
@required this.maxLogoWidth,
@required this.maxLogoHeight,
}) : assert(minMessageLen != null),
assert(maxMessageLen != null),
assert(allowedFilesType != null),
@ -89,7 +93,9 @@ class ConversationsPolicy {
assert(maxMessageImageWidth != null),
assert(maxMessageImageHeight != null),
assert(maxThumbnailWidth != null),
assert(maxThumbnailHeight != null);
assert(maxThumbnailHeight != null),
assert(maxLogoWidth != null),
assert(maxLogoHeight != null);
}
class ServerConfig {