summaryrefslogtreecommitdiff
path: root/poezio/tabs/privatetab.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/tabs/privatetab.py')
-rw-r--r--poezio/tabs/privatetab.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/poezio/tabs/privatetab.py b/poezio/tabs/privatetab.py
index ca5e85ea..96c68562 100644
--- a/poezio/tabs/privatetab.py
+++ b/poezio/tabs/privatetab.py
@@ -177,7 +177,7 @@ class PrivateTab(OneToOneTab):
if config.get_by_tabname('send_chat_states', self.general_jid):
needed = 'inactive' if self.inactive else 'active'
msg['chat_state'] = needed
- if attention and self.remote_supports_attention:
+ if attention:
msg['attention'] = True
self.core.events.trigger('private_say_after', msg, self)
if not msg['body']:
@@ -196,8 +196,7 @@ class PrivateTab(OneToOneTab):
typ=1)
self.last_sent_message = msg
- if self.remote_supports_receipts:
- msg._add_receipt = True
+ msg._add_receipt = True
msg.send()
self.cancel_paused_delay()
self.text_win.refresh()