forked from GitHub-Mirror/riotX-android
Crash on loggout
https://github.com/matrix-org/riot-android-rageshakes/issues/5881
This commit is contained in:
parent
b4ea85fc76
commit
031c4e5746
@ -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 New Issue
Block a user