Skip to content

Commit

Permalink
Updated implementation for has_message_serial
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed May 21, 2024
1 parent 37ed012 commit d36aafb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/ably/models/protocol_message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ def count

# @api private
def has_message_serial?
message_serial && true
rescue TypeError
false
not Ably::Util::String::is_null_or_empty(message_serial)
end

# @api private
Expand Down

0 comments on commit d36aafb

Please sign in to comment.