Changeset 17f9522
- Timestamp:
- 2010-03-06T16:17:23Z (15 years ago)
- Branches:
- master
- Children:
- 4049061
- Parents:
- b051d39
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/oscar/oscar.c
rb051d39 r17f9522 380 380 s->flags |= ACC_SET_OFFLINE_ONLY; 381 381 } 382 383 acc->flags |= ACC_FLAG_AWAY_MESSAGE; 382 384 } 383 385 … … 1959 1961 aim_setextstatus(od->sess, od->conn, AIM_ICQ_STATE_INVISIBLE); 1960 1962 return; 1961 } /* else... */ 1963 } else if (message == NULL) { 1964 message = state; 1965 } 1962 1966 1963 1967 if (od->rights.maxawaymsglen == 0) … … 2027 2031 aim_setextstatus(od->sess, od->conn, AIM_ICQ_STATE_INVISIBLE); 2028 2032 ic->away = g_strdup(msg); 2029 } else if (!g_strcasecmp(state, GAIM_AWAY_CUSTOM)){2033 } else { 2030 2034 if (no_message) { 2031 2035 aim_setextstatus(od->sess, od->conn, AIM_ICQ_STATE_NORMAL); … … 2276 2280 { 2277 2281 struct oscar_data *od = ic->proto_data; 2278 GList *m = NULL; 2279 2280 if (!od->icq) 2281 return g_list_append(m, GAIM_AWAY_CUSTOM); 2282 2283 m = g_list_append(m, "Online"); 2284 m = g_list_append(m, "Away"); 2285 m = g_list_append(m, "Do Not Disturb"); 2286 m = g_list_append(m, "Not Available"); 2287 m = g_list_append(m, "Occupied"); 2288 m = g_list_append(m, "Free For Chat"); 2289 m = g_list_append(m, "Invisible"); 2290 2291 return m; 2282 2283 if (od->icq) { 2284 static GList *m = NULL; 2285 m = g_list_append(m, "Away"); 2286 m = g_list_append(m, "Do Not Disturb"); 2287 m = g_list_append(m, "Not Available"); 2288 m = g_list_append(m, "Occupied"); 2289 m = g_list_append(m, "Free For Chat"); 2290 m = g_list_append(m, "Invisible"); 2291 return m; 2292 } else { 2293 static GList *m = NULL; 2294 m = g_list_append(m, "Away"); 2295 return m; 2296 } 2292 2297 } 2293 2298
Note: See TracChangeset
for help on using the changeset viewer.