Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/hooks.c @ 2013:8dc418af3e72
Allow to select to which buddy resource messages go. Closes issue #55
author | Hermitifier |
---|---|
date | Thu, 01 Mar 2012 15:10:41 +0100 |
parents | 3cabdacf58df |
children | a54c084af4d6 |
comparison
equal
deleted
inserted
replaced
2012:2039ea6bd7a5 | 2013:8dc418af3e72 |
---|---|
330 message_flags |= HBB_PREFIX_HLIGHT; | 330 message_flags |= HBB_PREFIX_HLIGHT; |
331 } | 331 } |
332 } | 332 } |
333 } | 333 } |
334 } | 334 } |
335 } else if (settings_opt_get_int("roster_autolock_resource")) { | |
336 buddy_setactiveresource(roster_usr->data, resname); | |
337 scr_update_chat_status(FALSE); | |
335 } | 338 } |
336 | 339 |
337 if (error_msg_subtype) { | 340 if (error_msg_subtype) { |
338 message_flags = HBB_PREFIX_ERR | HBB_PREFIX_IN; | 341 message_flags = HBB_PREFIX_ERR | HBB_PREFIX_IN; |
339 scr_LogPrint(LPRINT_LOGNORM, "Error message received from <%s>", bjid); | 342 scr_LogPrint(LPRINT_LOGNORM, "Error message received from <%s>", bjid); |