Crash when pasting text as quote into chat window
Versions
- OS: Manjaro Linux
- GTK Version: 3.24.23
- PyGObject Version: 3.36.1
- GLib Version : 2.64.1
- python-nbxmpp Version: 1.0.2
- Gajim Version: 1.2.1
Traceback
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/gajim/chat_control_base.py", line 723, in paste_clipboard_as_quote
self.insert_as_quote(text)
File "/usr/lib/python3.8/site-packages/gajim/chat_control_base.py", line 716, in insert_as_quote
text = '> ' + text.replace('\n', '\n> ') + '\n'
AttributeError: 'NoneType' object has no attribute 'replace'
Steps to reproduce the problem
What I have done:
- Open a chat window using the roster
- Paste some text as quote