mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Utilize result type instead of error stream when attempting to create a call link.
This commit is contained in:
@@ -101,7 +101,7 @@ class SignalCallLinkManager(
|
||||
)
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Failed to create call link credential.", e)
|
||||
emitter.onError(e)
|
||||
emitter.onSuccess(CreateCallLinkResult.Failure(-1))
|
||||
return@create
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user