chore: log inbox id

This commit is contained in:
Vishnu Narayanan
2024-11-14 23:08:37 +05:30
parent 4f4dcef4f1
commit d1596653fd
+2 -1
View File
@@ -11,7 +11,8 @@ class RoomChannel < ApplicationCable::Channel
end
def log_params
Rails.logger.info("update_presence: #{params.inspect}")
inbox_id = ContactInbox.find_by(pubsub_token: params[:pubsub_token])&.inbox_id
Rails.logger.info("update_presence: #{params.inspect}, inbox_id: #{inbox_id}")
end
def update_presence