You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2018/06/12 11:02:56 UTC

[whimsy] branch master updated: got then/else reversed. Hat tip: sebb for catching this!

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new c96d052  got then/else reversed.  Hat tip: sebb for catching this!
c96d052 is described below

commit c96d0525b1166b01590b478045526c82a531f62d
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Jun 12 07:02:01 2018 -0400

    got then/else reversed.  Hat tip: sebb for catching this!
---
 www/board/agenda/daemon/events.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/board/agenda/daemon/events.rb b/www/board/agenda/daemon/events.rb
index 1faf85d..20a755d 100644
--- a/www/board/agenda/daemon/events.rb
+++ b/www/board/agenda/daemon/events.rb
@@ -34,9 +34,9 @@ class Events
       begin
         message = JSON.parse(File.read(file))
         if message[:private]
-          Channel.post_all(message)
-        else
           Channel.post_private(message[:private], message)
+        else
+          Channel.post_all(message)
         end
       ensure
         File.unlink file

-- 
To stop receiving notification emails like this one, please contact
rubys@apache.org.