Add some logging to check for null group id in group notices

Fri, 12 Dec 2014 09:16:26 +0100

author
Ansariel
date
Fri, 12 Dec 2014 09:16:26 +0100
changeset 43060
1abaa74feacd
parent 43059
40c06785bdfc
child 43066
5583097f4bec

Add some logging to check for null group id in group notices

indra/newview/llviewermessage.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/llviewermessage.cpp	Thu Dec 11 23:47:57 2014 +0100
     1.2 +++ b/indra/newview/llviewermessage.cpp	Fri Dec 12 09:16:26 2014 +0100
     1.3 @@ -3177,6 +3177,10 @@
     1.4  				//args["MESSAGE"] = mes;
     1.5  				//LLNotifications::instance().add(LLNotification::Params("GroupNotice").substitutions(args).payload(payload).time_stamp(LLDate(timestamp)));
     1.6  				//make_ui_sound("UISndGroupNotice"); // <FS:PP> Group notice sound
     1.7 +				if (group_id.isNull())
     1.8 +				{
     1.9 +					LL_WARNS() << "Received group notice with null id!" << LL_ENDL;
    1.10 +				}
    1.11  				gCacheName->get(group_id, true, boost::bind(&notification_group_name_cb, _2, name, subj, mes, payload, timestamp));
    1.12  				// </FS:Ansariel>
    1.13  			}

mercurial