lib/chatrix/message.rb
def parse_body!
      return unless @raw.key? 'format'
      case @raw['format']
      when 'org.matrix.custom.html'
        @type = :html
        @formatted = @raw['formatted_body']
      end
    end
# Parses the message content to see if there's any special formatting
# available.
Parses the message content to see if there's any special formatting
available.
Parses the message content to see if there ' s any special formatting available .
def parse_body!
      return unless @raw.key? 'format'
      case @raw['format']
      when 'org.matrix.custom.html'
        @type = :html
        @formatted = @raw['formatted_body']
      end
    end
def parse_body! return unless @raw . key? 'format' case @raw [ 'format' ] when 'org.matrix.custom.html' @type = :html @formatted = @raw [ 'formatted_body' ] end end
Parses the message content to see if there's any special formatting
available.
Parses the message content to see if there ' s any special formatting available .