<p>Joshua Colp has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15636">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_queue: Only send QueueMemberStatus if status changes.<br><br>If a queue member was updated with the same status multiple<br>times each time a QueueMemberStatus event would be sent<br>which would be a duplicate of the previous.<br><br>This change makes it so that the QueueMemberStatus event is<br>only sent if the status actually changes.<br><br>ASTERISK-29355<br><br>Change-Id: I580c60d992a0a8f2bea8b91c868771b3b490d116<br>---<br>M apps/app_queue.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/36/15636/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/app_queue.c b/apps/app_queue.c</span><br><span>index e0bec9c..334f41d 100644</span><br><span>--- a/apps/app_queue.c</span><br><span>+++ b/apps/app_queue.c</span><br><span>@@ -2460,9 +2460,9 @@</span><br><span> * happen when there is latency in the connection to the member.</span><br><span> */</span><br><span> pending_members_remove(m);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- queue_publish_member_blob(queue_member_status_type(), queue_member_blob_create(q, m));</span><br><span style="color: hsl(120, 100%, 40%);">+ queue_publish_member_blob(queue_member_status_type(), queue_member_blob_create(q, m));</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span> }</span><br><span> </span><br><span> /*!</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15636">change 15636</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/15636"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I580c60d992a0a8f2bea8b91c868771b3b490d116 </div>
<div style="display:none"> Gerrit-Change-Number: 15636 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>