Commit 6937c9b2 authored by Pekka Pessi's avatar Pekka Pessi

UNDO: nua_params.[hc]: added autorespond flag to params

darcs-hash:20061004123911-65a35-9c111b57842629be6f3df0b08e66381939c50662.gz
parent 06e581df
......@@ -156,7 +156,8 @@ int nua_stack_set_defaults(nua_handle_t *nh,
NHP_SET(nhp, message_enable, 1);
NHP_SET(nhp, win_messenger_enable, 0);
NHP_SET(nhp, autorespond, 1);
if (getenv("PIMIW_HACK") != 0)
NHP_SET(nhp, message_auto_respond, 1);
NHP_SET(nhp, media_features, 0);
NHP_SET(nhp, callee_caps, 0);
......
......@@ -85,9 +85,8 @@ typedef struct nua_handle_preferences
unsigned nhp_message_enable : 1;
/** Be bug-compatible with Windows Messenger */
unsigned nhp_win_messenger_enable : 1;
/** Autorespond to all requests */
unsigned nhp_autorespond : 1;
/** PIM-IW hack */
unsigned nhp_message_auto_respond : 1;
/* Preferences for registration (and dialog establishment) */
unsigned nhp_callee_caps:1; /**< Add callee caps to contact */
......@@ -153,7 +152,7 @@ typedef struct nua_handle_preferences
unsigned nhb_update_refresh:1;
unsigned nhb_message_enable:1;
unsigned nhb_win_messenger_enable:1;
unsigned nhb_autorespond:1;
unsigned nhb_message_auto_respond:1;
unsigned nhb_callee_caps:1;
unsigned nhb_media_features:1;
unsigned nhb_service_route_enable:1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment