Changeset 7a9d968 for protocols/bee_user.c
- Timestamp:
- 2018-03-10T11:30:39Z (7 years ago)
- Children:
- 5447c59
- Parents:
- 3f44e43 (diff), 4a9c6b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/bee_user.c
r3f44e43 r7a9d968 170 170 171 171 if (!(bu = bee_user_by_handle(bee, ic, handle))) { 172 if (g_strcasecmp(set_getstr(&ic->bee->set, "handle_unknown"), "add") == 0) { 172 char *h = set_getstr(&ic->acc->set, "handle_unknown") ? : 173 set_getstr(&ic->bee->set, "handle_unknown"); 174 175 if (g_strncasecmp(h, "add", 3) == 0) { 173 176 bu = bee_user_new(bee, ic, handle, BEE_USER_LOCAL); 174 177 } else { 175 if (g_strcasecmp( set_getstr(&ic->bee->set, "handle_unknown"), "ignore") != 0) {178 if (g_strcasecmp(h, "ignore") != 0) { 176 179 imcb_log(ic, "imcb_buddy_status() for unknown handle %s:\n" 177 180 "flags = %d, state = %s, message = %s", handle, flags, … … 255 258 256 259 if (!bu && !(ic->flags & OPT_LOGGING_OUT)) { 257 char *h = set_getstr(&bee->set, "handle_unknown"); 260 char *h = set_getstr(&ic->acc->set, "handle_unknown") ? : 261 set_getstr(&ic->bee->set, "handle_unknown"); 258 262 259 263 if (g_strcasecmp(h, "ignore") == 0) {
Note: See TracChangeset
for help on using the changeset viewer.