damus
damus copied to clipboard
Fix empty our_pubkey in DirectMessagesModel
The PR is for solving https://github.com/damus-io/damus/issues/556
Root cause:
dmsis created with empty pub key in HomeModel- After that, its pub key is never updated even when
damus_stateis updated in ContentView - The empty pub key of
DirectMessagesModelis used to init a new DirectMessageModel, so the pub key of newly createdDirectMessageModelis also empty - As a result,
determine_is_requestin DirectMessageModel will always returntruebecauseour_pubkeyis empty. - It causes newly created conversations show in the
Requestslist, instead ofDMslist
Input is welcome.
ohhh
sorry will get back to this soon