Changeset ef742ad


Ignore:
Timestamp:
Mar 11, 2012, 11:44:39 PM (9 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
release-1.8
Children:
16ef9ae
Parents:
18250fa
git-author:
Anders Kaseorg <andersk@mit.edu> (10/22/11 21:16:38)
git-committer:
David Benjamin <davidben@mit.edu> (03/11/12 23:44:39)
Message:
Don’t send public pings on zwrite '' or zwrite @REALM

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: David Benjamin <davidben@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zwrite.c

    r18250fa ref742ad  
    171171  }
    172172
    173   /* if there are no recipients we won't send a ping, which
    174      is what we want */
    175173  for (i = 0; i < z->recips->len; i++) {
    176174    to = owl_zwrite_get_recip_n_with_realm(z, i);
    177     send_ping(to, z->class, z->inst);
     175    if (owl_zwrite_recip_is_personal(to))
     176      send_ping(to, z->class, z->inst);
    178177    g_free(to);
    179178  }
Note: See TracChangeset for help on using the changeset viewer.