Skip to content
Snippets Groups Projects
Commit ae27bdbd authored by Taras's avatar Taras
Browse files

Make sessionId() public

parent 310624a3
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,7 @@ data class Credentials(
@Json(name = "well_known") val discoveryInformation: DiscoveryInformation? = null
)
internal fun Credentials.sessionId(): String {
//Changed for Circles
fun Credentials.sessionId(): String {
return (if (deviceId.isBlank()) userId else "$userId|$deviceId").md5()
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment