Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
1a338a2c by wurstsalat at 2021-12-13T21:28:13+01:00
Control: Remove XHTML remnants
- - - - -
3 changed files:
- gajim/gtk/controls/chat.py
- gajim/gtk/controls/groupchat.py
- gajim/gtk/controls/private.py
Changes:
=====================================
gajim/gtk/controls/chat.py
=====================================
@@ -545,7 +545,6 @@ def draw_banner_text(self) -> None:
def send_message(self,
message: str,
- xhtml: Optional[str] = None,
process_commands: bool = True,
attention: bool = False
) -> None:
@@ -567,7 +566,6 @@ def send_message(self,
BaseControl.send_message(self,
message,
type_='chat',
- xhtml=xhtml,
process_commands=process_commands,
attention=attention)
=====================================
gajim/gtk/controls/groupchat.py
=====================================
@@ -1182,7 +1182,6 @@ def _on_message_sent(self, event):
def send_message(self,
message: str,
- xhtml: Optional[str] = None,
process_commands: bool = True
) -> None:
"""
@@ -1225,7 +1224,6 @@ def send_message(self,
label=label,
chatstate=chatstate,
correct_id=correct_id)
- message_.additional_data.set_value('gajim', 'xhtml', xhtml)
self._client.send_message(message_)
self.msg_textview.get_buffer().set_text('')
=====================================
gajim/gtk/controls/private.py
=====================================
@@ -24,8 +24,6 @@
# You should have received a copy of the GNU General Public License
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
-from typing import Optional
-
from nbxmpp import JID
from gajim.common import app
@@ -142,7 +140,6 @@ def _on_room_joined(self, *args):
def send_message(self,
message: str,
- xhtml: Optional[str] = None,
process_commands: bool = True,
attention: bool = False
) -> None:
@@ -165,7 +162,6 @@ def send_message(self,
return
ChatControl.send_message(self, message,
- xhtml=xhtml,
process_commands=process_commands,
attention=attention)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/1a338a2c89a55c45caf4cfa0117fc20db769c721
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/1a338a2c89a55c45caf4cfa0117fc20db769c721
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits