Skip to content

Commit f2f09df

Browse files
committed
lessen expectations about contact lists
1 parent 930a013 commit f2f09df

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

lib/nostr/client/workflows/follow.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ defmodule Nostr.Client.Workflows.Follow do
7373

7474
new_contact_list = %Nostr.Models.ContactList{
7575
pubkey: profile_pubkey,
76-
created_at: DateTime.utc_now(),
7776
contacts: []
7877
}
7978

lib/nostr/client/workflows/unfollow.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ defmodule Nostr.Client.Workflows.Unfollow do
7070

7171
new_contact_list = %Nostr.Models.ContactList{
7272
pubkey: profile_pubkey,
73-
created_at: DateTime.utc_now(),
7473
contacts: []
7574
}
7675

lib/nostr/event/types/contacts_event.ex

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ defmodule Nostr.Event.Types.ContactsEvent do
9090

9191
defp create_contact_list(event, contacts, relays) do
9292
%ContactList{
93-
id: event.id,
9493
pubkey: event.pubkey,
95-
created_at: event.created_at,
9694
contacts: contacts,
9795
relays: relays
9896
}

0 commit comments

Comments
 (0)