forked from reya/coop-mobile
update nostr class
This commit is contained in:
@@ -77,6 +77,10 @@ data class Room(
|
||||
return this.copy(subject = subject)
|
||||
}
|
||||
|
||||
fun setLastMessage(message: String?): Room {
|
||||
return this.copy(lastMessage = message)
|
||||
}
|
||||
|
||||
fun isGroup(): Boolean {
|
||||
return members.size > 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user