mirror of
https://github.com/Mibew/java.git
synced 2025-01-23 01:50:34 +03:00
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:
parent
95c2e697b3
commit
e1433ac83d
@ -503,7 +503,7 @@ function take_thread($thread,$operator) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function check_for_reassign($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'];
|
$operatorName = ($thread['locale'] == $home_locale) ? $operator['vclocalename'] : $operator['vccommonname'];
|
||||||
if( $thread['istate'] == $state_waiting &&
|
if( $thread['istate'] == $state_waiting &&
|
||||||
( $thread['nextagent'] == $operator['operatorid']
|
( $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_events,$message_to_post);
|
||||||
|
post_message($thread['threadid'],$kind_avatar,$operator['vcavatar'] ? $operator['vcavatar'] : "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user