<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -438,8 +438,8 @@ module Jabber
       roster.add_presence_callback do |roster_item, old_presence, new_presence|
         simple_jid = roster_item.jid.strip.to_s
         presence = case new_presence.type
-                   when nil: new_presence.show || :online
-                   when :unavailable: :unavailable
+                   when nil then new_presence.show || :online
+                   when :unavailable then :unavailable
                    else
                      nil
                    end</diff>
      <filename>lib/xmpp4r-simple.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>37d466f703a71dd624319bb272731661aa24497c</id>
    </parent>
  </parents>
  <author>
    <name>David Rice</name>
    <email>davidjrice@gmail.com</email>
  </author>
  <url>http://github.com/blaine/xmpp4r-simple/commit/92e2cd0002ec3a9a38506527e1a3a2d622408626</url>
  <id>92e2cd0002ec3a9a38506527e1a3a2d622408626</id>
  <committed-date>2009-09-07T16:32:56-07:00</committed-date>
  <authored-date>2009-09-07T16:32:56-07:00</authored-date>
  <message>Ruby 1.9 compatibility fix</message>
  <tree>42c8db982f205a17a087b7a322f12fbf92f9a562</tree>
  <committer>
    <name>David Rice</name>
    <email>davidjrice@gmail.com</email>
  </committer>
</commit>
