incremental chat state work

This commit is contained in:
Christien Rioux 2024-08-03 21:55:20 -05:00
parent 83880d79ba
commit 47287ba8d4
7 changed files with 70 additions and 30 deletions

View file

@ -233,7 +233,8 @@ class ChatComponentCubit extends Cubit<ChatComponentState> {
return types.User(
id: remoteIdentityPublicKey.toString(),
firstName: activeConversationState.remoteConversation.profile.name,
firstName: activeConversationState.remoteConversation?.profile.name ??
'<unnamed>',
metadata: {metadataKeyIdentityPublicKey: remoteIdentityPublicKey});
}