mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 03:49:04 +03:00
QuickFIx / regression cannot decrypt message (no sender_key)
This commit is contained in:
parent
8fefdc1019
commit
a5584d27af
1 changed files with 1 additions and 5 deletions
|
@ -177,11 +177,7 @@ data class Event(
|
||||||
* @return The curve25519 key that sent this event.
|
* @return The curve25519 key that sent this event.
|
||||||
*/
|
*/
|
||||||
fun getSenderKey(): String? {
|
fun getSenderKey(): String? {
|
||||||
return if (null != mClearEvent) {
|
return mClearEvent?.mSenderCurve25519Key ?: mSenderCurve25519Key
|
||||||
mClearEvent!!.mSenderCurve25519Key
|
|
||||||
} else {
|
|
||||||
mSenderCurve25519Key
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue