Daniel Brötzmann pushed to branch newcontrol at gajim / gajim
Commits:
9ed653f5 by wurstsalat at 2022-07-20T19:04:39+02:00
Close chat when cancelling password prompt
- - - - -
1 changed file:
- gajim/gtk/chat_function_page.py
Changes:
=====================================
gajim/gtk/chat_function_page.py
=====================================
@@ -272,6 +272,8 @@ def _on_cancel_clicked(self, _button: Gtk.Button) -> None:
if self._mode == 'password-request':
self._client.get_module('MUC').cancel_password_request(
self._contact.jid)
+ self.emit('finish', True)
+ return
if self._mode in (
'join-failed',
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/9ed653f5bdc4c37b47349ce06ad18112…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/9ed653f5bdc4c37b47349ce06ad18112…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
feaf6f49 by wurstsalat at 2022-07-18T21:48:28+02:00
fix: Preview: Allow manual download for all mime types
Fixes #11044
- - - - -
1 changed file:
- gajim/common/preview.py
Changes:
=====================================
gajim/common/preview.py
=====================================
@@ -428,7 +428,7 @@ def _on_content_sniffed(self,
preview.mime_type = type_
preview.file_size = file_size
- if type_ not in ALLOWED_MIME_TYPES:
+ if type_ not in ALLOWED_MIME_TYPES and not force:
log.info('Not an allowed content type: %s, %s', type_, uri)
session.cancel_message(message, Soup.Status.CANCELLED)
return
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/feaf6f4920145ec4ac69af364a406136…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/feaf6f4920145ec4ac69af364a406136…
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:
07863d1d by lovetox at 2022-07-16T15:24:18+02:00
imprv: Add more datetime test cases
- - - - -
1 changed file:
- test/unit/test_datetime_parsing.py
Changes:
=====================================
test/unit/test_datetime_parsing.py
=====================================
@@ -27,6 +27,8 @@ class TestDateTime(unittest.TestCase):
# Valid strings with offset
'2017-11-05T01:41:20-05:00': 1509864080.0,
'2017-11-05T01:41:20+05:00': 1509828080.0,
+ '2017-11-05T01:41:20-00:00': 1509846080.0,
+ '2017-11-05T01:41:20+00:00': 1509846080.0,
}
strings2 = {
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/07863d1db22037b20a0b36e3…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/07863d1db22037b20a0b36e3…
You're receiving this email because of your account on dev.gajim.org.