diff options
author | Brion Vibber <brion@pobox.com> | 2010-06-11 12:04:03 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-06-11 12:04:03 -0700 |
commit | 47665e845ae74e6ee5b9a39565fb45dd9a93f921 (patch) | |
tree | a24680e60e250f085c7290c8fa0ecbc3ec4c6ea8 /lib/util.php | |
parent | ec155464765db36591bbb183b335abbc1ec8638c (diff) | |
parent | 054ac909bf6222254cf9b2c3a4eda824f4f4eb8f (diff) |
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/util.php b/lib/util.php index 59d5132ec..049001aba 100644 --- a/lib/util.php +++ b/lib/util.php @@ -1235,9 +1235,8 @@ function common_enqueue_notice($notice) $transports[] = 'jabber'; } - // @fixme move these checks into QueueManager and/or individual handlers - if ($notice->is_local == Notice::LOCAL_PUBLIC || - $notice->is_local == Notice::LOCAL_NONPUBLIC) { + // We can skip these for gatewayed notices. + if ($notice->isLocal()) { $transports = array_merge($transports, $localTransports); if ($xmpp) { $transports[] = 'public'; |