mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
Fix a new bug
This commit is contained in:
parent
94ea7d322d
commit
6ecd63bf5d
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ internal class WidgetFactory @Inject constructor(private val userDataSource: Use
|
|||
var computedUrl = url ?: return null
|
||||
val myUser = userDataSource.getUser(userId)
|
||||
|
||||
val keyValue = data.mapKeys { "\$$it" }.toMutableMap()
|
||||
val keyValue = data.mapKeys { "\$${it.key}" }.toMutableMap()
|
||||
|
||||
keyValue[WIDGET_PATTERN_MATRIX_USER_ID] = userId
|
||||
keyValue[WIDGET_PATTERN_MATRIX_DISPLAY_NAME] = myUser?.getBestName() ?: userId
|
||||
|
|
Loading…
Reference in a new issue