MAINT-5688 FIXED Viewer crashes when user in DnD calling to another user also in DnD
parent
97f85329e4
commit
ae75d8cf67
|
|
@ -36,7 +36,7 @@
|
|||
#include "llviewerwindow.h"
|
||||
#include "llfloaterreg.h"
|
||||
#include "lltrans.h"
|
||||
|
||||
#include "llagent.h"
|
||||
#include "lldockablefloater.h"
|
||||
#include "llsyswellwindow.h"
|
||||
#include "llfloaterimsession.h"
|
||||
|
|
@ -265,7 +265,11 @@ void LLScreenChannel::addToast(const LLToast::Params& p)
|
|||
|
||||
if(!show_toast && !store_toast)
|
||||
{
|
||||
LLNotificationPtr notification = LLNotifications::instance().find(p.notif_id);
|
||||
if(gAgent.isDoNotDisturb())
|
||||
{
|
||||
return;
|
||||
}
|
||||
LLNotificationPtr notification = LLNotifications::instance().find(p.notif_id);
|
||||
|
||||
if (notification &&
|
||||
(!notification->canLogToIM() || !notification->hasFormElements()))
|
||||
|
|
|
|||
Loading…
Reference in New Issue