too many listeners found in billing and usage
This commit is contained in:
@@ -136,6 +136,10 @@ class ConvoViewModel: NSObject, ObservableObject {
|
|||||||
|
|
||||||
print("the scope of users to search for convos is \(splicedArray)")
|
print("the scope of users to search for convos is \(splicedArray)")
|
||||||
|
|
||||||
|
//deinit listener before listening again
|
||||||
|
self?.convosListener?.remove()
|
||||||
|
|
||||||
|
|
||||||
// initiate convo listener to get all relevant convos
|
// initiate convo listener to get all relevant convos
|
||||||
// any convo that is active
|
// any convo that is active
|
||||||
// and any of my active friends or I am in that convo
|
// and any of my active friends or I am in that convo
|
||||||
|
|||||||
Reference in New Issue
Block a user