summaryrefslogtreecommitdiff
path: root/examples/gtalk_custom_domain.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gtalk_custom_domain.py')
-rwxr-xr-xexamples/gtalk_custom_domain.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/gtalk_custom_domain.py b/examples/gtalk_custom_domain.py
index f055159b..c8d80e96 100755
--- a/examples/gtalk_custom_domain.py
+++ b/examples/gtalk_custom_domain.py
@@ -58,7 +58,7 @@ class GTalkBot(slixmpp.ClientXMPP):
logging.error(err.message)
self.disconnect()
- def start(self, event):
+ async def start(self, event):
"""
Process the session_start event.
@@ -72,7 +72,7 @@ class GTalkBot(slixmpp.ClientXMPP):
data.
"""
self.send_presence()
- self.get_roster()
+ await self.get_roster()
def message(self, msg):
"""