Fixed deprecation of Account.findBuddy() in pygui sample app (#3815)
This commit is contained in:
parent
033e4d7ae3
commit
42a3e78d75
|
@ -207,7 +207,7 @@ class Chat(gui.ChatObserver):
|
|||
# it is a temporary one and not really registered to acc
|
||||
bud = None
|
||||
try:
|
||||
bud = self._acc.findBuddy(uri_str)
|
||||
bud = self._acc.findBuddy2(uri_str)
|
||||
except:
|
||||
bud = buddy.Buddy(None)
|
||||
bud_cfg = pj.BuddyConfig()
|
||||
|
|
Loading…
Reference in New Issue