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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user