mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-25 17:12:38 +01:00
Code quality
This commit is contained in:
parent
fc9ef579ca
commit
844f6d16a4
@ -10,6 +10,7 @@ Improvements:
|
||||
- Improve long tap menu: reply on top, more compact (#368)
|
||||
- Quick reply in timeline with swipe gesture (#167)
|
||||
- Improve edit of replies
|
||||
- Improve performance on Room Members and Users management (#381)
|
||||
|
||||
Other changes:
|
||||
- migrate from rxbinding 2 to rxbinding 3
|
||||
|
@ -90,7 +90,9 @@ internal class RoomDisplayNameResolver @Inject constructor(private val context:
|
||||
val inviteMeEvent = roomMembers.queryRoomMemberEvent(credentials.userId).findFirst()
|
||||
val inviterId = inviteMeEvent?.sender
|
||||
name = if (inviterId != null) {
|
||||
val inviterMemberEvent = loadedMembers.where().equalTo(EventEntityFields.STATE_KEY, inviterId).findFirst()
|
||||
val inviterMemberEvent = loadedMembers.where()
|
||||
.equalTo(EventEntityFields.STATE_KEY, inviterId)
|
||||
.findFirst()
|
||||
inviterMemberEvent?.toRoomMember()?.displayName
|
||||
} else {
|
||||
context.getString(R.string.room_displayname_room_invite)
|
||||
|
Loading…
Reference in New Issue
Block a user