chat usage help and minor UI fixes (#291)
* chat usage help and minor UI fixes * update version, build and binary
This commit is contained in:
committed by
GitHub
parent
771bc6a14d
commit
98fc6c6adf
@@ -100,7 +100,7 @@ final class ChatModel: ObservableObject {
|
||||
}
|
||||
}
|
||||
|
||||
struct User: Decodable {
|
||||
struct User: Decodable, NamedChat {
|
||||
var userId: Int64
|
||||
var userContactId: Int64
|
||||
var localDisplayName: ContactName
|
||||
@@ -115,6 +115,10 @@ struct User: Decodable {
|
||||
// self.activeUser = activeUser
|
||||
// }
|
||||
|
||||
var displayName: String { get { profile.displayName } }
|
||||
|
||||
var fullName: String { get { profile.fullName } }
|
||||
|
||||
static let sampleData = User(
|
||||
userId: 1,
|
||||
userContactId: 1,
|
||||
|
||||
Reference in New Issue
Block a user