summaryrefslogtreecommitdiff
path: root/tests/twisted/text/receipts.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/twisted/text/receipts.py')
-rw-r--r--tests/twisted/text/receipts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/twisted/text/receipts.py b/tests/twisted/text/receipts.py
index 2c11af2e3..c2f9e90b9 100644
--- a/tests/twisted/text/receipts.py
+++ b/tests/twisted/text/receipts.py
@@ -150,7 +150,7 @@ def replying_to_requests(q, bus, conn, stream):
q.unforbid_all()
# If we're invisible, LeChuck shouldn't get receipts.
- conn.SimplePresence.SetPresence("hidden", "")
+ conn.Presence.SetPresence("hidden", "")
event = q.expect('stream-iq', query_name='invisible')
acknowledge_iq(stream, event.stanza)