aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/call_state.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-02-12 14:07:19 +0100
committerfiaxh <git@lightrise.org>2022-02-12 14:22:29 +0100
commitbe751a5dda6e4b4612276d278f59f9f96ed0298c (patch)
tree3f0aeca430893c4ebf1fe51ab1102537a5681ca2 /libdino/src/service/call_state.vala
parent6532c2b160c66540091d667c4af116ec4d71ff43 (diff)
downloaddino-be751a5dda6e4b4612276d278f59f9f96ed0298c.tar.gz
dino-be751a5dda6e4b4612276d278f59f9f96ed0298c.zip
Various call fixes
- If peer invited us claiming audio-only and then wants to have a video content, do a content-modify and accept audio-only - Check contents for video (and modify) and whether call is truly accepted in PeerState.accept() directly - If a message contains both JMI and CIM, only use JMI - Fix outgoing CIM (disabled) - Use opacity instead of visiblity for file_menu, small fixes - Add back owner/admin/member queries when joining MUC (regression from 33104a7)
Diffstat (limited to 'libdino/src/service/call_state.vala')
-rw-r--r--libdino/src/service/call_state.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/service/call_state.vala b/libdino/src/service/call_state.vala
index 73b26650..c403fc6a 100644
--- a/libdino/src/service/call_state.vala
+++ b/libdino/src/service/call_state.vala
@@ -373,7 +373,7 @@ public class Dino.CallState : Object {
handle_peer_left(peer_state, false, Xep.Jingle.ReasonElement.CANCEL, "Peer left the MUJI MUC");
});
- if (group_call.peers_to_connect_to.size > 3) {
+ if (group_call.peers_to_connect_to.size > 4) {
end("Call too full - P2p calls don't work well with many participants");
return;
}