Changeset 9d206c6


Ignore:
Timestamp:
Jan 23, 2012, 6:41:21 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.9
Children:
f7c0730
Parents:
d6b2ae8
git-author:
Anders Kaseorg <andersk@mit.edu> (10/22/11 21:16:38)
git-committer:
Anders Kaseorg <andersk@mit.edu> (01/23/12 18:41:21)
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

    rd6b2ae8 r9d206c6  
    182182  }
    183183
    184   /* if there are no recipients we won't send a ping, which
    185      is what we want */
    186184  for (i = 0; i < z->recips->len; i++) {
    187185    to = owl_zwrite_get_recip_n_with_realm(z, i);
    188     send_ping(to, z->class, z->inst);
     186    if (owl_zwrite_recip_is_personal(to))
     187      send_ping(to, z->class, z->inst);
    189188    g_free(to);
    190189  }
Note: See TracChangeset for help on using the changeset viewer.