mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 18:35:40 +03:00
Crash on loggout
https://github.com/matrix-org/riot-android-rageshakes/issues/5881
This commit is contained in:
parent
b4ea85fc76
commit
031c4e5746
1 changed files with 3 additions and 1 deletions
|
@ -44,7 +44,9 @@ internal class ObjectSigner @Inject constructor(private val credentials: Credent
|
|||
|
||||
val content = HashMap<String, String>()
|
||||
|
||||
content["ed25519:" + credentials.deviceId] = olmDevice.signMessage(strToSign)!!
|
||||
|
||||
content["ed25519:" + credentials.deviceId] = olmDevice.signMessage(strToSign)
|
||||
?: "" //null reported by rageshake if happens during logout
|
||||
|
||||
result[credentials.userId] = content
|
||||
|
||||
|
|
Loading…
Reference in a new issue