Skip to content

Commit

Permalink
Fixed deprecation of Account.findBuddy() in pygui sample app
Browse files Browse the repository at this point in the history
  • Loading branch information
sauwming committed Dec 26, 2023
1 parent 5601a20 commit ff1c225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pjsip-apps/src/pygui/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def addParticipant(self, uri, call_inst=None):
# 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()
Expand Down

0 comments on commit ff1c225

Please sign in to comment.