feat: add client-side NodeInfo channel routing

This commit is contained in:
andrekir 2024-01-17 19:34:55 -03:00
parent 104e6ef25e
commit 6aa1b70274
3 changed files with 25 additions and 17 deletions

View file

@ -86,11 +86,11 @@ class UsersFragment : ScreenFragment("Users"), Logging {
popup.setOnMenuItemClickListener { item: MenuItem ->
when (item.itemId) {
R.id.direct_message -> {
debug("calling MessagesFragment filter: 0${user.id}")
debug("calling MessagesFragment filter: ${node.channel}${user.id}")
setFragmentResult(
"requestKey",
bundleOf(
"contactKey" to "0${user.id}",
"contactKey" to "${node.channel}${user.id}",
"contactName" to user.longName
)
)