Utilize result type instead of error stream when attempting to create a call link.

This commit is contained in:
Alex Hart 2024-10-17 12:45:16 -03:00
parent 99c9ba0b70
commit cc5e3fc085

View file

@ -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
}