mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 01:45:52 +03:00
Change listeners Map variable to immutable
This commit is contained in:
parent
8fe3b5e750
commit
1554d79f1a
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class VoiceBroadcastPlayer @Inject constructor(
|
|||
/**
|
||||
* Map voiceBroadcastId to listeners.
|
||||
*/
|
||||
private var listeners: MutableMap<String, CopyOnWriteArrayList<Listener>> = mutableMapOf()
|
||||
private val listeners: MutableMap<String, CopyOnWriteArrayList<Listener>> = mutableMapOf()
|
||||
|
||||
fun playOrResume(roomId: String, eventId: String) {
|
||||
val hasChanged = currentVoiceBroadcastId != eventId
|
||||
|
|
Loading…
Reference in a new issue