mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 08:15:02 +00:00
Remove useless Unit type.
This commit is contained in:
+1
-1
@@ -530,7 +530,7 @@ class RustMatrixClient(
|
||||
* Store the user profile in the session storage, including a base64 encoded thumbnail of the avatar,
|
||||
* so that the avatar can be rendered without having to use this client.
|
||||
*/
|
||||
private suspend fun storeUserProfile(matrixUser: MatrixUser): Unit = withContext(sessionDispatcher) {
|
||||
private suspend fun storeUserProfile(matrixUser: MatrixUser) = withContext(sessionDispatcher) {
|
||||
val avatarUrl = matrixUser.avatarUrl
|
||||
val storedSession = sessionStore.getSession(sessionId.value)
|
||||
val avatarData = when {
|
||||
|
||||
Reference in New Issue
Block a user