CHUI-387 FIXED (Conversation toasts not shown for open conversations when conversation floater is in a minimized state or undocked conversation is minimized): added checking of the minimized state
parent
d1f45654d9
commit
93f9c69918
|
|
@ -121,7 +121,14 @@ void toast_callback(const LLSD& msg){
|
|||
|
||||
// Skip toasting if we have open window of IM with this session id
|
||||
LLIMFloater* open_im_floater = LLIMFloater::findInstance(msg["session_id"]);
|
||||
if (open_im_floater && open_im_floater->isInVisibleChain() && open_im_floater->hasFocus())
|
||||
if (
|
||||
open_im_floater
|
||||
&& open_im_floater->isInVisibleChain()
|
||||
&& open_im_floater->hasFocus()
|
||||
&& !open_im_floater->isMinimized()
|
||||
&& !(open_im_floater->getHost()
|
||||
&& open_im_floater->getHost()->isMinimized())
|
||||
)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue