Philipp Hörist pushed to branch master at gajim / gajim
Commits:
898ac966 by Philipp Hörist at 2018-04-04T22:16:46+02:00
Some status codes should only be in our presence
Some Servers broadcast these status codes in every presence which
is wrong accoring to the XEP
- - - - -
1 changed file:
- gajim/groupchat_control.py
Changes:
=====================================
gajim/groupchat_control.py
=====================================
--- a/gajim/groupchat_control.py
+++ b/gajim/groupchat_control.py
@@ -1749,7 +1749,7 @@ class GroupchatControl(ChatControlBase):
# status_code
# http://www.xmpp.org/extensions/xep-0045.html#registrar-statuscodes-\
# init
- if obj.status_code:
+ if obj.status_code and obj.nick == self.nick:
if '110' in obj.status_code:
# We just join the room
if self.room_jid in app.automatic_rooms[self.account] and \
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/898ac9664796ef8fe16b1caeefa261cdc7…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/898ac9664796ef8fe16b1caeefa261cdc7…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
1b8d76bf by Philipp Hörist at 2018-04-04T22:10:34+02:00
Add missing return statement
- - - - -
1 changed file:
- gajim/common/multimedia_helpers.py
Changes:
=====================================
gajim/common/multimedia_helpers.py
=====================================
--- a/gajim/common/multimedia_helpers.py
+++ b/gajim/common/multimedia_helpers.py
@@ -38,6 +38,7 @@ class DeviceManager(object):
element = Gst.ElementFactory.make(name, '%spresencetest' % name)
if element is None:
log.warning('could not create %spresencetest', name)
+ return
if hasattr(element.props, 'device'):
element.set_state(Gst.State.READY)
devices = element.get_properties('device')
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/1b8d76bf9e2584adb89d6ad213ef942e34…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/1b8d76bf9e2584adb89d6ad213ef942e34…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
8a4264c9 by Philipp Hörist at 2018-04-04T00:00:08+02:00
Remove event handler on ChatControl Shutdown
- - - - -
1 changed file:
- gajim/chat_control.py
Changes:
=====================================
gajim/chat_control.py
=====================================
--- a/gajim/chat_control.py
+++ b/gajim/chat_control.py
@@ -1161,6 +1161,9 @@ class ChatControl(ChatControlBase):
self._nec_caps_received)
app.ged.remove_event_handler('message-sent', ged.OUT_POSTCORE,
self._message_sent)
+ app.ged.remove_event_handler(
+ 'mam-decrypted-message-received',
+ ged.GUI1, self._nec_mam_decrypted_message_received)
self.unsubscribe_events()
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/8a4264c94e4990d4fddabbce290004d143…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/8a4264c94e4990d4fddabbce290004d143…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
f29d57e5 by Philipp Hörist at 2018-04-03T19:54:09+02:00
Catch invalid IQ stanzas and log them
Fixes #9044
- - - - -
1 changed file:
- gajim/common/protocol/bytestream.py
Changes:
=====================================
gajim/common/protocol/bytestream.py
=====================================
--- a/gajim/common/protocol/bytestream.py
+++ b/gajim/common/protocol/bytestream.py
@@ -673,7 +673,10 @@ class ConnectionSocks5Bytestream(ConnectionBytestream):
# if we want to respect xep-0065 we have to check for proxy
# activation result in any result iq
real_id = iq_obj.getAttr('id')
- if not real_id.startswith('au_'):
+ if real_id is None:
+ log.warning('Invalid IQ without id attribute:\n%s', iq_obj)
+ raise nbxmpp.NodeProcessed
+ if real_id is None or not real_id.startswith('au_'):
return
frm = self._ft_get_from(iq_obj)
id_ = real_id[3:]
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/f29d57e50be7feb077d838d491a07be0eb…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/f29d57e50be7feb077d838d491a07be0eb…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
199f1c74 by Philipp Hörist at 2018-04-02T21:37:08+02:00
Dont call show_all() on AboutDialog
Fixes #9038
- - - - -
1 changed file:
- gajim/dialogs.py
Changes:
=====================================
gajim/dialogs.py
=====================================
--- a/gajim/dialogs.py
+++ b/gajim/dialogs.py
@@ -1321,12 +1321,7 @@ class AboutDialog(Gtk.AboutDialog):
self.connect(
'response', lambda dialog, *args: Gtk.AboutDialog.do_close(dialog))
- self.show_all()
-
- # GTK Bug, We have to manually hide the License Button
- # Bug exists only on Windows
- if os.name == 'nt':
- self.get_action_area().get_children()[1].hide()
+ self.show()
class Dialog(Gtk.Dialog):
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/199f1c74ff929667da9595b5c6dfdb08cb…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/199f1c74ff929667da9595b5c6dfdb08cb…
You're receiving this email because of your account on dev.gajim.org.