summaryrefslogtreecommitdiff
path: root/poezio/tabs/conversationtab.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-11-24 03:28:02 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-11-24 03:28:02 +0000
commit1edabb0c77227c32d04478f00b0539b7d1418915 (patch)
treee4a1e282096e6e0141d363598b11d8bf9af9f1c6 /poezio/tabs/conversationtab.py
parent068aa591e3bf01d1f052db5b87b1771772b51c9e (diff)
downloadpoezio-1edabb0c77227c32d04478f00b0539b7d1418915.tar.gz
poezio-1edabb0c77227c32d04478f00b0539b7d1418915.tar.bz2
poezio-1edabb0c77227c32d04478f00b0539b7d1418915.tar.xz
poezio-1edabb0c77227c32d04478f00b0539b7d1418915.zip
Remove bogus checks for resource features.
Diffstat (limited to 'poezio/tabs/conversationtab.py')
-rw-r--r--poezio/tabs/conversationtab.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/poezio/tabs/conversationtab.py b/poezio/tabs/conversationtab.py
index f99938fc..20180f73 100644
--- a/poezio/tabs/conversationtab.py
+++ b/poezio/tabs/conversationtab.py
@@ -143,7 +143,7 @@ class ConversationTab(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('conversation_say_after', msg, self)
if not msg['body']:
@@ -161,8 +161,7 @@ class ConversationTab(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()