Philipp Hörist pushed to branch master at gajim / gajim
Commits:
a84f784b by lovetox at 2020-06-26T19:44:29+02:00
Client: Register screensaver handler on all platforms
This is no problem because the signal is not emited if the platform
does not support it
Fixes #10152
- - - - -
1 changed file:
- gajim/common/client.py
Changes:
=====================================
gajim/common/client.py
=====================================
@@ -93,9 +93,8 @@ class Client(ConnectionHandlers):
self._idle_handler_id = Monitor.connect('state-changed',
self._idle_state_changed)
- if sys.platform not in ('win32', 'darwin'):
- self._screensaver_handler_id = app.app.connect(
- 'notify::screensaver-active', self._screensaver_state_changed)
+ self._screensaver_handler_id = app.app.connect(
+ 'notify::screensaver-active', self._screensaver_state_changed)
ConnectionHandlers.__init__(self)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/a84f784bf9af479fae27161603b7ef2c…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/a84f784bf9af479fae27161603b7ef2c…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
afe212b7 by lovetox at 2020-06-26T16:02:25+02:00
About: Update current developers
- - - - -
1 changed file:
- gajim/common/const.py
Changes:
=====================================
gajim/common/const.py
=====================================
@@ -627,6 +627,8 @@ Jakub Szypulka
DEVS_CURRENT = u"""\
Yann Leboulanger (asterix AT lagaule.org)
Philipp Hörist (philipp AT hoerist.com)
+Daniel Brötzmann (wurstsalat AT posteo.de)
+André Apitzsch
""".strip().split("\n")
DEVS_PAST = u"""\
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/afe212b754e8291e327c8416f3236622…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/afe212b754e8291e327c8416f3236622…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
2df09bc2 by lovetox at 2020-06-25T18:01:21+02:00
GroupchatRoster: Sort by status in correct order
- - - - -
1 changed file:
- gajim/gtk/groupchat_roster.py
Changes:
=====================================
gajim/gtk/groupchat_roster.py
=====================================
@@ -345,7 +345,7 @@ class GroupchatRoster(Gtk.ScrolledWindow, EventHelper):
self.room_jid,
nick2)
if gc_contact1.show != gc_contact2.show:
- return -1 if gc_contact1.show < gc_contact2.show else 1
+ return -1 if gc_contact1.show > gc_contact2.show else 1
return locale.strcoll(nick1.lower(), nick2.lower())
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/2df09bc2e6840c1573701bc5ebbd4fa5…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/2df09bc2e6840c1573701bc5ebbd4fa5…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
e148d24f by lovetox at 2020-06-23T21:51:48+02:00
OMEMO: Correctly parse prekey value
The prekey value can be 'true' or '1'
Fixes #109
- - - - -
2 changed files:
- ChangeLog
- nbxmpp/modules/omemo.py
Changes:
=====================================
ChangeLog
=====================================
@@ -1,3 +1,7 @@
+python-nbxmpp 1.0.1 (TBA)
+
+ * OMEMO: Correctly parse prekey value
+
python-nbxmpp 1.0.0 (18 June 2020)
* Library rewritten in most parts
=====================================
nbxmpp/modules/omemo.py
=====================================
@@ -26,6 +26,7 @@ from nbxmpp.util import callback
from nbxmpp.util import b64decode
from nbxmpp.util import b64encode
from nbxmpp.util import raise_error
+from nbxmpp.util import from_xs_boolean
from nbxmpp.structs import StanzaHandler
from nbxmpp.structs import OMEMOMessage
from nbxmpp.structs import OMEMOBundle
@@ -111,7 +112,14 @@ class OMEMO(BaseModule):
if rid is None:
raise StanzaMalformed('rid not found')
- prekey = kn.getAttr('prekey') == 'true'
+ prekey = kn.getAttr('prekey')
+ if prekey is None:
+ prekey = False
+ else:
+ try:
+ prekey = from_xs_boolean(prekey)
+ except ValueError as error:
+ raise StanzaMalformed(error)
try:
keys[int(rid)] = (b64decode(kn.getData(), bytes), prekey)
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/e148d24f259de953c1c5328b…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/e148d24f259de953c1c5328b…
You're receiving this email because of your account on dev.gajim.org.