Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
gajim
Commits
ba20dc5e
Commit
ba20dc5e
authored
Jan 12, 2022
by
Daniel Brötzmann
Browse files
App: Typing
parent
f55750ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
gajim/common/app.py
View file @
ba20dc5e
...
...
@@ -223,12 +223,11 @@ def detect_dependencies() -> None:
gi
.
require_version
(
'Farstream'
,
'0.2'
)
from
gi.repository
import
Farstream
_dependencies
[
'FARSTREAM'
]
=
True
except
Exception
:
pass
except
Exception
as
error
:
log
(
'gajim'
).
warning
(
'AV dependency test failed: %s'
,
error
)
try
:
if
_dependencies
[
'GST'
]
and
_dependencies
[
'FARSTREAM'
]:
Gst
.
init
(
None
)
conference
=
Gst
.
ElementFactory
.
make
(
'fsrtpconference'
,
None
)
conference
.
new_session
(
Farstream
.
MediaType
.
AUDIO
)
from
gajim.gui.gstreamer
import
create_gtk_widget
...
...
@@ -412,7 +411,7 @@ def get_enabled_accounts_with_labels(
Returns a list with [account, account_label] entries.
Order by account_label
"""
accounts
=
[]
accounts
:
list
[
list
[
str
]]
=
[]
for
acc
in
connections
:
if
exclude_local
and
account_is_zeroconf
(
acc
):
continue
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment