- Timestamp:
- 2017-05-07T19:06:29Z (8 years ago)
- Branches:
- master
- Children:
- 54b2a36
- Parents:
- 17a58df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
r17a58df reb73d05 768 768 msg = ic->acc->flags & ACC_FLAG_AWAY_MESSAGE ? away : NULL; 769 769 away = imc_away_state_find(m, away, &msg) ? : 770 (imc_away_state_find(m, "away", &msg) ? : m->data);770 (imc_away_state_find(m, "away", NULL) ? : m->data); 771 771 } else if (ic->acc->flags & ACC_FLAG_STATUS_MESSAGE) { 772 772 away = NULL; … … 802 802 contains no data unless it adds something to what 803 803 we have in state already. */ 804 if ( strlen(m->data) == strlen(away)) {804 if (message && strlen(m->data) == strlen(away)) { 805 805 *message = NULL; 806 806 } … … 828 828 for (m = gcm; m; m = m->next) { 829 829 if (g_strcasecmp(imc_away_alias_list[i][j], m->data) == 0) { 830 if (!keep_message ) {830 if (!keep_message && message) { 831 831 *message = NULL; 832 832 }
Note: See TracChangeset
for help on using the changeset viewer.