Daniel Brötzmann pushed to branch master at gajim / gajim

Commits:

3 changed files:

Changes:

  • gajim/gtk/controls/chat.py
    ... ... @@ -545,7 +545,6 @@ def draw_banner_text(self) -> None:
    545 545
     
    
    546 546
         def send_message(self,
    
    547 547
                          message: str,
    
    548
    -                     xhtml: Optional[str] = None,
    
    549 548
                          process_commands: bool = True,
    
    550 549
                          attention: bool = False
    
    551 550
                          ) -> None:
    
    ... ... @@ -567,7 +566,6 @@ def send_message(self,
    567 566
             BaseControl.send_message(self,
    
    568 567
                                      message,
    
    569 568
                                      type_='chat',
    
    570
    -                                 xhtml=xhtml,
    
    571 569
                                      process_commands=process_commands,
    
    572 570
                                      attention=attention)
    
    573 571
     
    

  • gajim/gtk/controls/groupchat.py
    ... ... @@ -1182,7 +1182,6 @@ def _on_message_sent(self, event):
    1182 1182
     
    
    1183 1183
         def send_message(self,
    
    1184 1184
                          message: str,
    
    1185
    -                     xhtml: Optional[str] = None,
    
    1186 1185
                          process_commands: bool = True
    
    1187 1186
                          ) -> None:
    
    1188 1187
             """
    
    ... ... @@ -1225,7 +1224,6 @@ def send_message(self,
    1225 1224
                                            label=label,
    
    1226 1225
                                            chatstate=chatstate,
    
    1227 1226
                                            correct_id=correct_id)
    
    1228
    -            message_.additional_data.set_value('gajim', 'xhtml', xhtml)
    
    1229 1227
                 self._client.send_message(message_)
    
    1230 1228
     
    
    1231 1229
                 self.msg_textview.get_buffer().set_text('')
    

  • gajim/gtk/controls/private.py
    ... ... @@ -24,8 +24,6 @@
    24 24
     # You should have received a copy of the GNU General Public License
    
    25 25
     # along with Gajim. If not, see <http://www.gnu.org/licenses/>.
    
    26 26
     
    
    27
    -from typing import Optional
    
    28
    -
    
    29 27
     from nbxmpp import JID
    
    30 28
     
    
    31 29
     from gajim.common import app
    
    ... ... @@ -142,7 +140,6 @@ def _on_room_joined(self, *args):
    142 140
     
    
    143 141
         def send_message(self,
    
    144 142
                          message: str,
    
    145
    -                     xhtml: Optional[str] = None,
    
    146 143
                          process_commands: bool = True,
    
    147 144
                          attention: bool = False
    
    148 145
                          ) -> None:
    
    ... ... @@ -165,7 +162,6 @@ def send_message(self,
    165 162
                 return
    
    166 163
     
    
    167 164
             ChatControl.send_message(self, message,
    
    168
    -                                 xhtml=xhtml,
    
    169 165
                                      process_commands=process_commands,
    
    170 166
                                      attention=attention)
    
    171 167