issues
search
oxen-io
/
libsession-util
Session utilities library
GNU General Public License v3.0
15
stars
16
forks
source link
Add size()/empty() to Contacts
#8
Closed
jagerman
closed
1 year ago
jagerman
commented
1 year ago
Adds
.size()
and
.empty()
to Contacts for easier querying.
Rename
get_or_create
to
get_or_construct
because this only constructs a contact object, but doesn't actually "create" it in the config until you
set()
it.
Fix minor bug in test code
.size()
and.empty()
to Contacts for easier querying.get_or_create
toget_or_construct
because this only constructs a contact object, but doesn't actually "create" it in the config until youset()
it.