equal
deleted
inserted
replaced
426 |
426 |
427 default: |
427 default: |
428 break; |
428 break; |
429 } |
429 } |
430 |
430 |
431 prio = settings_opt_get_int("priority"); |
431 if (st == away || st == notavail) |
|
432 prio = settings_opt_get_int("priority_away"); |
|
433 else |
|
434 prio = settings_opt_get_int("priority"); |
|
435 |
432 if (prio) { |
436 if (prio) { |
433 char strprio[8]; |
437 char strprio[8]; |
434 snprintf(strprio, 8, "%d", (int)prio); |
438 snprintf(strprio, 8, "%d", (int)prio); |
435 xmlnode_insert_cdata(xmlnode_insert_tag(x, "priority"), |
439 xmlnode_insert_cdata(xmlnode_insert_tag(x, "priority"), |
436 strprio, (unsigned) -1); |
440 strprio, (unsigned) -1); |