avatar null initial state
This commit is contained in:
parent
aa80f58cbe
commit
d58b9cc78b
1 changed files with 2 additions and 2 deletions
|
|
@ -581,7 +581,7 @@ const onChats = (cb, gun, user, SEA) => {
|
|||
if (!recipientPKToChat[recipientPK]) {
|
||||
recipientPKToChat[recipientPK] = {
|
||||
messages: [],
|
||||
recipientAvatar: '',
|
||||
recipientAvatar: null,
|
||||
recipientDisplayName: Utils.defaultName(recipientPK),
|
||||
recipientPublicKey: recipientPK,
|
||||
didDisconnect,
|
||||
|
|
@ -621,7 +621,7 @@ const onChats = (cb, gun, user, SEA) => {
|
|||
if (!recipientPKToChat[recipientPK]) {
|
||||
recipientPKToChat[recipientPK] = {
|
||||
messages: [],
|
||||
recipientAvatar: '',
|
||||
recipientAvatar: null,
|
||||
recipientDisplayName: Utils.defaultName(recipientPK),
|
||||
recipientPublicKey: recipientPK,
|
||||
didDisconnect,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue