Clean and add towncrier

This commit is contained in:
ganfra 2021-06-18 17:30:32 +02:00
parent 6b10406622
commit c551cf3058
6 changed files with 8 additions and 10 deletions

View File

@ -386,7 +386,4 @@ internal abstract class SessionModule {
@Binds @Binds
abstract fun bindEventSenderProcessor(processor: EventSenderProcessorCoroutine): EventSenderProcessor abstract fun bindEventSenderProcessor(processor: EventSenderProcessorCoroutine): EventSenderProcessor
} }

View File

@ -0,0 +1 @@
Introduces AutoAcceptInvites which can be enabled at compile time.

View File

@ -24,6 +24,6 @@ interface AutoAcceptInvites {
} }
class CompileTimeAutoAcceptInvites @Inject constructor() : AutoAcceptInvites { class CompileTimeAutoAcceptInvites @Inject constructor() : AutoAcceptInvites {
override val isEnabled = true override val isEnabled = false
override val hideInvites = false override val hideInvites = isEnabled
} }