Add DM button to profile

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2022-07-03 09:23:08 -07:00
parent 471f29f7ea
commit 366293315d
10 changed files with 102 additions and 37 deletions

View File

@@ -0,0 +1,20 @@
//
// 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 = []
}
}