forked from mirror/monocles_chat
do not use offline fallback rtp capability if account is disabled
(cherry picked from commit 0a2c753620
)
This commit is contained in:
parent
be3d1f8c4f
commit
8087f00d65
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ public class RtpCapability {
|
|||
|
||||
public static Capability check(final Contact contact, final boolean allowFallback) {
|
||||
final Presences presences = contact.getPresences();
|
||||
if (presences.size() == 0 && allowFallback) {
|
||||
if (presences.size() == 0 && allowFallback && contact.getAccount().isEnabled()) {
|
||||
return contact.getRtpCapability();
|
||||
}
|
||||
Capability result = Capability.NONE;
|
||||
|
|
Loading…
Add table
Reference in a new issue