From caba5e17234d52bd7e36a867782d950a0f62ffa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Tue, 4 Apr 2017 21:55:16 +0200 Subject: [PATCH] Rename _on_continue_message() _build_message_stanza is a better fitting name --- src/common/connection.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index 497bcbce0..81d50ddde 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -299,7 +299,7 @@ class CommonConnection: self._encrypt_message(obj, callback) return - self._on_continue_message(obj, callback) + self._build_message_stanza(obj, callback) def _encrypt_message(self, obj, callback): obj.xhtml = None @@ -342,9 +342,9 @@ class CommonConnection: None, conn=self, jid=obj.jid, message=obj.message, error=error, time_=time.time(), session=obj.session)) return - self._on_continue_message(obj, callback, msgenc) + self._build_message_stanza(obj, callback, msgenc) - def _on_continue_message(self, obj, callback, msgenc=None): + def _build_message_stanza(self, obj, callback, msgenc=None): if msgenc: msgtxt = '[This message is *encrypted* (See :XEP:`27`]' lang = os.getenv('LANG')