Philipp Hörist pushed to branch master at gajim / gajim
Commits:
f70365da by Philipp Hörist at 2019-09-29T16:19:47Z
Jingle: Fix undefined variable
- - - - -
1 changed file:
- gajim/common/modules/jingle.py
Changes:
=====================================
gajim/common/modules/jingle.py
=====================================
@@ -245,7 +245,7 @@ class Jingle(BaseModule):
if media:
if media not in ('audio', 'video', 'file'):
return []
- return [se for se in sessions if session.get_content(media)]
+ return [se for se in sessions if se.get_content(media)]
return sessions
def set_file_info(self, file_):
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/f70365da8e7f57c3aa1af6d70f98793dd0…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/f70365da8e7f57c3aa1af6d70f98793dd0…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
1f663a24 by Philipp Hörist at 2019-09-29T08:35:03Z
Remove unused function
- - - - -
f5244e37 by Philipp Hörist at 2019-09-29T11:20:16Z
Bookmarks: Don't accept PEP notificiations before request
- - - - -
2 changed files:
- gajim/common/modules/adhoc_commands.py
- gajim/common/modules/bookmarks.py
Changes:
=====================================
gajim/common/modules/adhoc_commands.py
=====================================
@@ -179,24 +179,6 @@ class ChangeStatusCommand(AdHocCommand):
return False # finish the session
-def find_current_groupchats(account):
- from gajim import message_control
- rooms = []
- for gc_control in app.interface.msg_win_mgr.get_controls(
- message_control.TYPE_GC) + \
- app.interface.minimized_controls[account].values():
- acct = gc_control.account
- # check if account is the good one
- if acct != account:
- continue
- room_jid = gc_control.room_jid
- nick = gc_control.nick
- if (room_jid in app.gc_connected[acct] and
- app.gc_connected[acct][room_jid]):
- rooms.append((room_jid, nick,))
- return rooms
-
-
class AdHocCommands(BaseModule):
_nbxmpp_extends = 'AdHoc'
=====================================
gajim/common/modules/bookmarks.py
=====================================
@@ -48,7 +48,7 @@ class Bookmarks(BaseModule):
self._conversion_2 = False
self._bookmarks = []
self._join_timeouts = []
- self._request_in_progress = False
+ self._request_in_progress = True
@property
def conversion(self):
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/8936a07e46a0e54bb4a43dcb6cd907286…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/8936a07e46a0e54bb4a43dcb6cd907286…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
3de999d9 by Daniel Brötzmann at 2019-09-25T16:32:05Z
Fix show_unsubscribed_dialog
- - - - -
1 changed file:
- gajim/gui_interface.py
Changes:
=====================================
gajim/gui_interface.py
=====================================
@@ -405,9 +405,8 @@ class Interface:
% obj.jid)
def show_unsubscribed_dialog(self, account, contact):
- def _remove(list_):
- self.roster.on_req_usub(None, list_)
- list_ = [(contact, account)]
+ def _remove():
+ self.roster.on_req_usub(None, [(contact, account)])
NewConfirmationDialog(
_('Subscription Removed'),
@@ -417,7 +416,7 @@ class Interface:
[DialogButton.make('Cancel',
text=_('_No')),
DialogButton.make('Remove',
- callback=_remove(list_))]).show()
+ callback=_remove)]).show()
# FIXME: Per RFC 3921, we can "deny" ack as well, but the GUI does
# not show deny
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/3de999d93b9203304496f709b531eb3af0…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/3de999d93b9203304496f709b531eb3af0…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
3647524a by Philipp Hörist at 2019-09-24T16:31:58Z
Presence: Dont show SubscriptionRequestWindow on auto approve
- - - - -
1 changed file:
- gajim/common/modules/presence.py
Changes:
=====================================
gajim/common/modules/presence.py
=====================================
@@ -250,6 +250,8 @@ class Presence(BaseModule):
if auto_auth or is_transport or jid in self.jids_for_auto_auth:
self.send_presence(fjid, 'subscribed')
+ self._log.info('Auto respond with subscribed: %s', jid)
+ return
status = (properties.status or
_('I would like to add you to my roster.'))
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/3647524ad328cdd971d1c286d8dbb0b56d…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/3647524ad328cdd971d1c286d8dbb0b56d…
You're receiving this email because of your account on dev.gajim.org.