mirror of
https://github.com/jambonz/chrome-extension-dialer.git
synced 2025-12-19 04:47:45 +00:00
wip
This commit is contained in:
@@ -133,6 +133,9 @@ export const Phone = ({
|
||||
setIsConfigured(false);
|
||||
clientGoOffline();
|
||||
}
|
||||
getSelfRegisteredUser(sipUsernameRef.current).then(({ json }) => {
|
||||
setRegisteredUser(json);
|
||||
});
|
||||
}, [sipDomain, sipUsername, sipPassword, sipServerAddress, sipDisplayName]);
|
||||
|
||||
useEffect(() => {
|
||||
@@ -176,9 +179,6 @@ export const Phone = ({
|
||||
}, [status]);
|
||||
|
||||
useEffect(() => {
|
||||
getSelfRegisteredUser(sipUsernameRef.current).then(({ json }) => {
|
||||
setRegisteredUser(json);
|
||||
});
|
||||
setInterval(() => {
|
||||
getSelfRegisteredUser(sipUsernameRef.current).then(({ json }) => {
|
||||
setRegisteredUser(json);
|
||||
|
||||
Reference in New Issue
Block a user