mirror of https://github.com/lukechilds/damus.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
323 B
20 lines
323 B
//
|
|
// DirectMessageModel.swift
|
|
// damus
|
|
//
|
|
// Created by William Casarin on 2022-07-03.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
class DirectMessageModel: ObservableObject {
|
|
@Published var events: [NostrEvent]
|
|
|
|
init(events: [NostrEvent]) {
|
|
self.events = events
|
|
}
|
|
|
|
init() {
|
|
self.events = []
|
|
}
|
|
}
|
|
|