Skip to content

Commit e7d329b

Browse files
committed
Revert stream subscription retention default to auto remove
1 parent 37f3006 commit e7d329b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stream-android-core/src/main/java/io/getstream/android/core/api/subscribe/StreamSubscriptionManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ interface StreamSubscriptionManager<T> {
4444
*
4545
* @property retention Controls how the manager retains the listener reference.
4646
*/
47-
data class Options(val retention: Retention = Retention.KEEP_UNTIL_CANCELLED) {
47+
data class Options(val retention: Retention = Retention.AUTO_REMOVE) {
4848
/** Retention policy for a subscribed listener. */
4949
enum class Retention {
5050
/**

0 commit comments

Comments
 (0)