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