Rename parameter roomId to dmRoomId for clarity.
This commit is contained in:
@@ -83,8 +83,8 @@ class UserProfileFlowNode @AssistedInject constructor(
|
||||
plugins<UserProfileEntryPoint.Callback>().forEach { it.onOpenRoom(roomId) }
|
||||
}
|
||||
|
||||
override fun onStartCall(roomId: RoomId) {
|
||||
ElementCallActivity.start(context, CallType.RoomCall(sessionId = sessionIdHolder.current, roomId = roomId))
|
||||
override fun onStartCall(dmRoomId: RoomId) {
|
||||
ElementCallActivity.start(context, CallType.RoomCall(sessionId = sessionIdHolder.current, roomId = dmRoomId))
|
||||
}
|
||||
}
|
||||
val params = UserProfileNode.UserProfileInputs(userId = inputs<UserProfileEntryPoint.Params>().userId)
|
||||
|
||||
@@ -32,7 +32,7 @@ class UserProfileNodeHelper(
|
||||
interface Callback : NodeInputs {
|
||||
fun openAvatarPreview(username: String, avatarUrl: String)
|
||||
fun onStartDM(roomId: RoomId)
|
||||
fun onStartCall(roomId: RoomId)
|
||||
fun onStartCall(dmRoomId: RoomId)
|
||||
}
|
||||
|
||||
fun onShareUser(
|
||||
|
||||
Reference in New Issue
Block a user