+3
-1
app/firehose_stream.rb
+3
-1
app/firehose_stream.rb
···
76
76
if msg.type == :info
77
77
# AtProto error, the only one right now is "OutdatedCursor"
78
78
log "InfoMessage: #{msg}"
79
-
elsif msg.type == :handle
79
+
80
+
elsif msg.type == :identity
80
81
# use these events if you want to track handle changes:
81
82
# log "Handle change: #{msg.repo} => #{msg.handle}"
83
+
82
84
elsif msg.is_a?(Skyfall::Firehose::UnknownMessage)
83
85
log "Unknown message type: #{msg.type} (#{msg.seq})"
84
86
end