Change session_start callback to async in most examples
If we fetch the roster, we should probably wait until we get it back
This commit is contained in:
@@ -46,7 +46,7 @@ class AvatarSetter(slixmpp.ClientXMPP):
|
||||
data.
|
||||
"""
|
||||
self.send_presence()
|
||||
self.get_roster()
|
||||
await self.get_roster()
|
||||
|
||||
avatar_file = None
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user