refactor: add Pubkey, Privkey, NoteId string aliases
This is a non-behavioral change in preparation for the actual switchover from Strings to Ids. The purpose of this kit is to reduce the size of the switchover commit which is going to be very large.
This commit is contained in:
@@ -23,7 +23,7 @@ enum FriendFilter: String, StringCodable {
|
||||
self.rawValue
|
||||
}
|
||||
|
||||
func filter(contacts: Contacts, pubkey: String) -> Bool {
|
||||
func filter(contacts: Contacts, pubkey: Pubkey) -> Bool {
|
||||
switch self {
|
||||
case .all:
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user