From ff1c225a7120f9a225dcbe03d10f74e97379c98a Mon Sep 17 00:00:00 2001 From: sauwming Date: Tue, 26 Dec 2023 15:52:52 +0800 Subject: [PATCH] Fixed deprecation of Account.findBuddy() in pygui sample app --- pjsip-apps/src/pygui/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pjsip-apps/src/pygui/chat.py b/pjsip-apps/src/pygui/chat.py index 00b8e47c46..41ded97231 100644 --- a/pjsip-apps/src/pygui/chat.py +++ b/pjsip-apps/src/pygui/chat.py @@ -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()