push avatar in reassign

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@160 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2008-10-06 00:55:43 +00:00
parent 95c2e697b3
commit e1433ac83d

View File

@ -503,7 +503,7 @@ function take_thread($thread,$operator) {
}
function check_for_reassign($thread,$operator) {
global $state_waiting, $home_locale, $kind_events;
global $state_waiting, $home_locale, $kind_events, $kind_avatar;
$operatorName = ($thread['locale'] == $home_locale) ? $operator['vclocalename'] : $operator['vccommonname'];
if( $thread['istate'] == $state_waiting &&
( $thread['nextagent'] == $operator['operatorid']
@ -516,6 +516,7 @@ function check_for_reassign($thread,$operator) {
}
post_message($thread['threadid'],$kind_events,$message_to_post);
post_message($thread['threadid'],$kind_avatar,$operator['vcavatar'] ? $operator['vcavatar'] : "");
}
}