add profile screen

This commit is contained in:
2026-05-27 09:51:41 +07:00
parent 2080d9d67b
commit e1bb1d5a6b
10 changed files with 313 additions and 1 deletions

View File

@@ -477,6 +477,9 @@ class NostrViewModel(
}
fun sendMessage(roomId: Long, message: String, replies: List<EventId> = emptyList()) {
if (message.isEmpty()) {
showError("Message cannot be empty")
}
viewModelScope.launch {
try {
val room = getChatRoom(roomId)