mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: replace user with node in Message model
This commit is contained in:
parent
746f155a99
commit
4a1319a645
7 changed files with 52 additions and 29 deletions
|
|
@ -18,9 +18,9 @@
|
|||
package com.geeksville.mesh.model
|
||||
|
||||
import com.geeksville.mesh.MeshProtos.Routing
|
||||
import com.geeksville.mesh.MeshProtos.User
|
||||
import com.geeksville.mesh.MessageStatus
|
||||
import com.geeksville.mesh.R
|
||||
import com.geeksville.mesh.database.entity.NodeEntity
|
||||
import com.geeksville.mesh.database.entity.Reaction
|
||||
|
||||
val Routing.Error.stringRes: Int
|
||||
|
|
@ -47,7 +47,7 @@ val Routing.Error.stringRes: Int
|
|||
data class Message(
|
||||
val uuid: Long,
|
||||
val receivedTime: Long,
|
||||
val user: User,
|
||||
val node: NodeEntity,
|
||||
val text: String,
|
||||
val time: String,
|
||||
val read: Boolean,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue