diff --git a/meshchat.py b/meshchat.py index 4f2f71f..245d52b 100644 --- a/meshchat.py +++ b/meshchat.py @@ -1098,7 +1098,7 @@ async def index(request): # add to conversations conversations.append({ - "name": self.get_lxmf_conversation_name(other_user_hash), + "display_name": self.get_lxmf_conversation_name(other_user_hash), "destination_hash": other_user_hash, "is_unread": self.is_lxmf_conversation_unread(other_user_hash), "failed_messages_count": self.lxmf_conversation_failed_messages_count(other_user_hash), diff --git a/src/frontend/components/messages/MessagesPage.vue b/src/frontend/components/messages/MessagesPage.vue index b72c4b1..7fbd7ae 100644 --- a/src/frontend/components/messages/MessagesPage.vue +++ b/src/frontend/components/messages/MessagesPage.vue @@ -101,7 +101,7 @@ export default { // we didn't find an existing peer, so just use an unknown name this.onPeerClick({ - name: "Unknown Peer", + display_name: "Unknown Peer", destination_hash: destinationHash, }); diff --git a/src/frontend/components/messages/MessagesSidebar.vue b/src/frontend/components/messages/MessagesSidebar.vue index fbdcf51..d9289c5 100644 --- a/src/frontend/components/messages/MessagesSidebar.vue +++ b/src/frontend/components/messages/MessagesSidebar.vue @@ -29,7 +29,7 @@