diff --git a/.code-workspace.code-workspace b/.code-workspace.code-workspace new file mode 100644 index 0000000..83204e5 --- /dev/null +++ b/.code-workspace.code-workspace @@ -0,0 +1,11 @@ +{ + "folders": [ + { + "path": "../Speech2Text" + }, + { + "path": "." + } + ], + "settings": {} +} \ No newline at end of file diff --git a/.gitignore b/.gitignore index ddf41fe..8646cb7 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ server/server/data/privatechat.sqlite-wal server/server/data/master.key client/dist/* client/apple-client/WebApp/** +server/data/master.key diff --git a/client/src/app/chat-page.component.html b/client/src/app/chat-page.component.html index 1fa31ac..0748500 100644 --- a/client/src/app/chat-page.component.html +++ b/client/src/app/chat-page.component.html @@ -46,7 +46,7 @@

Fullscreen conversation

-

{{ peer()?.displayName ?? 'Conversation' }}

+

{{ displayedPeer()?.displayName ?? 'Conversation' }}

@@ -215,83 +215,85 @@ (click)="trackComposerSelection(composerTextarea)" (keyup)="trackComposerSelection(composerTextarea)" (select)="trackComposerSelection(composerTextarea)" - [disabled]="!session.isSelectedPeerReady()" - placeholder="Write a text message to your peer" + [disabled]="!peerId()" + placeholder="Write a text message to your peer, even if they are offline" >
- @if (peer(); as selectedPeer) { - - - @if (canEndSelectedVoiceCall()) { + @if (peerId(); as selectedPeerId) { + @if (peer(); as livePeer) { + + @if (canEndSelectedVoiceCall()) { + + } + + + + } - - - -