diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-06-01 12:58:55 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-06-01 12:58:55 +0000 |
commit | b161a5ff7ad033a2c501c3c23144fc6a60890cf4 (patch) | |
tree | c0301cb20ecbea1cd83a8b17efe3036dcc391a9e /iax/services.cpp | |
parent | 0d47f648dfe4c38ba4405cfaddd124197336f9f6 (diff) |
fix for 'missing' status bar icons
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@195 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'iax/services.cpp')
-rw-r--r-- | iax/services.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iax/services.cpp b/iax/services.cpp index 7cf8986..5386dea 100644 --- a/iax/services.cpp +++ b/iax/services.cpp @@ -202,6 +202,8 @@ void SetStatusAndACK(int new_status) { int SetStatusService(WPARAM wParam,LPARAM lParam)
{
int new_status = (int)wParam;
+ // we only support online and offline
+ if(new_status != ID_STATUS_OFFLINE) new_status = ID_STATUS_ONLINE;
if(new_status == current_status) return 0;
|