I have multiple listeners using addSnapshotListener:
addSnapshotListener
db.collection("messages") .addSnapshotListener { querySnapshot, error in