Philipp Hörist pushed to branch master at gajim / gajim
Commits:
da6d923c by Philipp Hörist at 2019-08-02T13:35:23Z
Groupchat: Fix invite dialog
- - - - -
1 changed file:
- gajim/gtk/dialogs.py
Changes:
=====================================
gajim/gtk/dialogs.py
=====================================
@@ -792,7 +792,7 @@ class InvitationReceivedDialog(Gtk.ApplicationWindow):
def on_accept_button_clicked(self, widget):
app.interface.show_or_join_groupchat(self.account,
- self.jid,
+ self.room_jid,
password=self.password)
self.destroy()
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/da6d923ccd63f17a807a0a4cfbe2572198…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/da6d923ccd63f17a807a0a4cfbe2572198…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
5a8289b6 by Philipp Hörist at 2019-08-01T11:22:43Z
Improve Email/JID regex
Fixes #9776
- - - - -
1 changed file:
- gajim/gui_interface.py
Changes:
=====================================
gajim/gui_interface.py
=====================================
@@ -1496,7 +1496,7 @@ class Interface:
self.emot_and_basic = '%s|%s' % (basic_pattern, emoticons)
# at least one character in 3 parts (before @, after @, after .)
- self.sth_at_sth_dot_sth = r'\S+(a)\S+\.\S*[^\s)?]'
+ self.sth_at_sth_dot_sth = r'^[a-zA-Z0-9_.+-]+(a)[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$'
# Invalid XML chars
self.invalid_XML_chars = '[\x00-\x08]|[\x0b-\x0c]|[\x0e-\x1f]|'\
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/5a8289b690cf700d414b4b6264c27e1b59…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/5a8289b690cf700d414b4b6264c27e1b59…
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:
7c74cac2 by Philipp Hörist at 2019-08-01T08:47:38Z
MUC: Add method for canceling captcha challenges
- - - - -
1 changed file:
- nbxmpp/modules/muc.py
Changes:
=====================================
nbxmpp/modules/muc.py
=====================================
@@ -26,6 +26,7 @@ from nbxmpp.protocol import NS_MUC_ADMIN
from nbxmpp.protocol import NS_MUC_OWNER
from nbxmpp.protocol import NS_CAPTCHA
from nbxmpp.protocol import NS_ADDRESS
+from nbxmpp.protocol import ERR_NOT_ACCEPTABLE
from nbxmpp.protocol import JID
from nbxmpp.protocol import Iq
from nbxmpp.protocol import Message
@@ -495,6 +496,12 @@ class MUC:
captcha.addChild(node=form_node)
return iq
+ def cancel_captcha(self, room_jid, message_id):
+ message = Message(typ='error', to=room_jid)
+ message.setID(message_id)
+ message.setError(ERR_NOT_ACCEPTABLE)
+ self._client.send(message)
+
@callback
def _default_response(self, stanza):
if not isResultNode(stanza):
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/commit/7c74cac2b8815994bdbd435242…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/commit/7c74cac2b8815994bdbd435242…
You're receiving this email because of your account on dev.gajim.org.