diff options
author | fiaxh <git@lightrise.org> | 2021-04-29 15:56:22 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2021-05-01 21:51:24 +0200 |
commit | 7d2e64769067c1b47e0500f6456dd7e6f4eb435a (patch) | |
tree | 0405bd7728c57928bb3c202f684ae85bb7494ffc /main/src/ui/conversation_titlebar | |
parent | 0409f554268c0e8f24e23e471a94de4d3a035ff1 (diff) | |
download | dino-7d2e64769067c1b47e0500f6456dd7e6f4eb435a.tar.gz dino-7d2e64769067c1b47e0500f6456dd7e6f4eb435a.zip |
Improve call wording, cleanup
Diffstat (limited to 'main/src/ui/conversation_titlebar')
-rw-r--r-- | main/src/ui/conversation_titlebar/call_entry.vala | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/main/src/ui/conversation_titlebar/call_entry.vala b/main/src/ui/conversation_titlebar/call_entry.vala index e1d10e5c..9353f631 100644 --- a/main/src/ui/conversation_titlebar/call_entry.vala +++ b/main/src/ui/conversation_titlebar/call_entry.vala @@ -92,9 +92,6 @@ namespace Dino.Ui { call_window.present(); update_button_state(); - call_controller.terminated.connect(() => { - update_button_state(); - }); } public new void set_conversation(Conversation conversation) { @@ -119,7 +116,7 @@ namespace Dino.Ui { if (conversation.type_ == Conversation.Type.CHAT) { Conversation conv_bak = conversation; bool audio_works = yield stream_interactor.get_module(Calls.IDENTITY).can_do_audio_calls_async(conversation); - bool video_works = yield stream_interactor.get_module(Calls.IDENTITY).can_do_audio_calls_async(conversation); + bool video_works = yield stream_interactor.get_module(Calls.IDENTITY).can_do_video_calls_async(conversation); if (conv_bak != conversation) return; visible = audio_works; |