Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
b8dff9a0 by wurstsalat at 2022-04-23T00:04:22+02:00
fix: AddContact: Use nick if available
- - - - -
1 changed file:
- gajim/gtk/add_contact.py
Changes:
=====================================
gajim/gtk/add_contact.py
=====================================
@@ -114,12 +114,14 @@ def _on_button_clicked(self,
self._result.jid,
msg=data['message'],
groups=data['groups'],
- auto_auth=data['auto_auth'])
+ auto_auth=data['auto_auth'],
+ name=self._nick)
else:
client.get_module('Presence').subscribe(
self._result.jid,
name=self._result.gateway_name,
- auto_auth=True)
+ auto_auth=True,
+ name=self._nick)
app.window.show_account_page(account)
self.destroy()
return
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/b8dff9a0e736158a96707e0d47f33193…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/b8dff9a0e736158a96707e0d47f33193…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
743e7593 by wurstsalat at 2022-04-22T20:50:53+02:00
fix: Preview: Limit mime types for preview_allow_all_images
- - - - -
1 changed file:
- gajim/common/preview.py
Changes:
=====================================
gajim/common/preview.py
=====================================
@@ -216,6 +216,10 @@ def _accept_uri(urlparts: ParseResult,
# http/https
if urlparts.scheme in ('https', 'http'):
if app.settings.get('preview_allow_all_images'):
+ mime_type = guess_mime_type(uri)
+ if (mime_type not in MIME_TYPES or
+ mime_type == 'application/octet-stream'):
+ return False
return True
if oob_url is None:
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/743e7593b8baf4af5a2f62b6588658ec…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/743e7593b8baf4af5a2f62b6588658ec…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
6587e490 by Weblate at 2022-04-19T20:36:04+02:00
chore: Update Translations
Co-authored-by: Tommy He <lovenemesis(a)gmail.com>
Co-authored-by: Weblate <noreply(a)weblate.org>
- - - - -
9 changed files:
- po/be.po
- po/be(a)latin.po
- po/bg.po
- po/br.po
- po/ca.po
- po/cs.po
- po/da.po
- po/de.po
- po/el.po
The diff was not included because it is too large.
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/6587e4907304af195c691d74c449bca7…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/6587e4907304af195c691d74c449bca7…
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:
da624496 by lovetox at 2022-04-18T14:14:50+02:00
fix: openpgp: Make nicer fallback string
- - - - -
1 changed file:
- nbxmpp/modules/openpgp.py
Changes:
=====================================
nbxmpp/modules/openpgp.py
=====================================
@@ -345,8 +345,7 @@ def create_message_stanza(stanza, encrypted_payload, with_fallback_text):
stanza.addChild(node=eme_node)
if with_fallback_text:
- stanza.setBody(
- '[This message is *encrypted* with OpenPGP (See :XEP:`0373`]')
+ stanza.setBody('This message is *encrypted* with OpenPGP')
def _make_keylist(keylist):
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/da6244965e125b517421cda4…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/da6244965e125b517421cda4…
You're receiving this email because of your account on dev.gajim.org.