Merge pull request #1081 from nextcloud/fixAvatarsForGroupChats

Fix avatars for group chats
This commit is contained in:
Marcel Hibbe 2021-03-26 16:43:18 +01:00 committed by GitHub
commit a74ddfa5c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

View File

@ -9,7 +9,7 @@ Types of changes can be: Added/Changed/Deprecated/Removed/Fixed/Security
### Added
### Changed
- improve conversation list design and dark/light theming
- improve conversation list design and dark/light theming (@AndyScherzinger)
### Fixed
- @ in username is allowed for phonebook sync
@ -17,6 +17,7 @@ Types of changes can be: Added/Changed/Deprecated/Removed/Fixed/Security
- avoid creation of multiple "chat via"-links in phonebook
- delete "chat via"-link from phonebook if phone number was deleted on server
- remove all "chat via"-links from phonebook when sync is disabled
- fix to show avatars for incoming pictures in group chats (@starypatyk)
## [11.1.0] - 2021-03-12
### Added

View File

@ -28,13 +28,21 @@
android:layout_marginEnd="16dp"
android:layout_marginBottom="2dp">
<com.facebook.drawee.view.SimpleDraweeView
android:id="@id/messageUserAvatar"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentTop="true"
android:layout_marginEnd="8dp"
app:roundAsCircle="true" />
<com.google.android.flexbox.FlexboxLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:layout_toEndOf="@id/messageUserAvatar"
android:orientation="vertical"
android:layout_alignParentStart="true"
app:alignContent="stretch"
app:alignItems="stretch"
app:flexWrap="wrap"